Question

I need to insert WMF files into Word Document

Asked by: denverbronx

I have exported WMF files from AutoCAD 2000i and have imported into Word document.  The line weights are very thin and almost unreadable.  I need a quick method to increase lineweight on these WMF files.  We had always used HPGL files into AMI pro in the past and that worked well.  We are now using Word exclusively and the WMF files do not import dark enough.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-07-24 at 09:18:10ID21929788
Tags

word

,

wmf

,

insert

,

file

Topic

CAD & Architecture Software

Participating Experts
2
Points
500
Comments
21

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. wmf to dxf
    Anybody out there who knows how to convert a wmf to dxf file format using VB?
  2. Convert wmf files to bmp
    Hi experts, i need to convert wmf files to bmp. i have 638 files in one directory and some subdirectories so i can find an automatic recursive program it will be perfect.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: dhsindyPosted on 2006-07-25 at 03:47:38ID: 17174621

Try going back to your original drawing and change the line work to polylines /lwpolylines and give them the desired lineweight width using the PEDIT command and also you can fill in areas with solid hatch.  Then, after you are satisfied with the image in AutoCAD export it to the WMF format file.

I don't know if you can change it once it is in the Word Document like a linked XLS file for example.  I don't have the 2000i program available anymore to test but this is what I used to do if I remember correctly.

Hope this helps or gives you some ideas.

 

by: dragontoothPosted on 2006-07-25 at 09:12:35ID: 17177073

The problem is the document has a 0.0 line thickness. The below sub will put a thickness in the lines, polylines, and (omg) trace (yes it was some old drawings). The default is 0.003 this will make the lines darker.

Private Sub AcadDocument_Activate()
    Dim entry As AcadObject
    Dim MyLine As AcadLine
    Dim MyTrace As AcadTrace
    Dim MyPoly As AcadPolyline
    Dim MyThick As Double
    Dim MyLineType As ACAD_LTYPE
    Dim MyPoints(0 To 5) As Double
    Dim CordPoints
    MyThick = 0.003
    For Each entry In ThisDrawing.ModelSpace
         'MsgBox entry.ObjectName
         If TypeOf entry Is AcadLine Then
            Set MyLine = entry
            MyLineType = MyLine.Linetype
            MyPoints(0) = MyLine.EndPoint(0)
            MyPoints(1) = MyLine.EndPoint(1)
            MyPoints(2) = 0
            MyPoints(3) = MyLine.StartPoint(0)
            MyPoints(4) = MyLine.StartPoint(1)
            MyPoints(5) = 0
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPoints)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Linetype = MyLineType
            MyPoly.Update
            MyLine.Delete
            'Set MyLine = Nothing
            'Set MyPoly = Nothing
         ElseIf TypeOf entry Is AcadTrace Then
            Set MyTrace = entry
            CordPoints = MyTrace.Coordinate(0)
            MyPoints(0) = CordPoints(0)
            MyPoints(1) = CordPoints(1)
            MyPoints(2) = CordPoints(2)
            CordPoints = MyTrace.Coordinate(3)
            MyPoints(3) = CordPoints(0)
            MyPoints(4) = CordPoints(1)
            MyPoints(5) = CordPoints(2)
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPoints)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Update
            MyTrace.Delete
            'Set MyTrace = Nothing
            'Set MyPoly = Nothing
        End If
    Next entry
    Set entry = Nothing
    Set MyTrace = Nothing
    Set MyPoly = Nothing
    Set MyLine = Nothing
End Sub

HTH
dragontooth

 

by: dragontoothPosted on 2006-07-25 at 09:14:59ID: 17177092

Sorry I forgot, dhsindy is correct in the assesment of drawings will have to be corrected. There is an editor for wmf's, but fixing the drawing is much faster.

dragontooth

 

by: denverbronxPosted on 2006-07-25 at 12:22:27ID: 17178626

Where would I nout this sub.  I have not used AutoCad extensively recently and I am not familiar with what you are saying.

 

by: denverbronxPosted on 2006-07-25 at 12:37:44ID: 17178789

I used the PEdit to change the line width and this works with the WMF.  However this is very cumbersome and drawnout.  I am seeking a solution that may work globally.  The layer Lineweight option does not work at all.  I appreciate your efforts.

 

by: dragontoothPosted on 2006-07-25 at 13:12:48ID: 17179078

press Alt+F11 and the vba ide will appear, in the upper left hand corner double click the ThisDrawing icon and paste the code below in to the code pane on the right.

Private Sub AcadDocument_Activate()
    Dim entry As AcadObject
    Dim MyThick As Double
    MyThick = 0.2
    For Each entry In ThisDrawing.ModelSpace
        If TypeOf entry Is AcadLine Then
            'entry.Lineweight = acLnWt009
            If entry.Thickness = 0# Then entry.Thickness = MyThick
        ElseIf TypeOf entry Is AcadLWPolyline Then
            'entry.Lineweight = acLnWt009
            If entry.Thickness = 0.2 Then entry.Thickness = MyThick
        End If
    Next entry
    Set entry = Nothing
End Sub

This will give each line and lwpolyline in the drawing that is opened the thickness of 0.2.

You will need to save the project so you can reload it. On the toolbar pick file -> save.

After this is done open a drawing and the lines and polylines will be updated automatically. Save the wmf close drawing and open the next one........

HTH
dragontooth

 

by: denverbronxPosted on 2006-07-25 at 14:26:28ID: 17179720

I did everything according to your instructions but it doesn't appear to be changing my linewidths.

Is there soemthing else I need to do to load this sub everytime or with each drawing.  Thanks so much for your help.

 

by: dragontoothPosted on 2006-07-25 at 14:31:39ID: 17179755

It will not change the thicknesses visibly. Do a list on a line and the thickness should be 0.2.

How do the wmf's look?

dragontooth

 

by: denverbronxPosted on 2006-07-25 at 15:13:28ID: 17180062

I listed out the line and the width is not recorded.  The linewidth remains as .0000

I will try this out more tomorrow.  Thanks for your jhelp.

The WMF's still print out the same.

 

by: dragontoothPosted on 2006-07-26 at 06:29:44ID: 17183904

I will repost this sub it will redraw all lines, and traces to polylines, the polylines will be reset to a width of .2 units. Depending on the size of drawing inserted and the size of paper being used, you may need to play with the polyline width until you get it fixed the way you want.

Start a new copy of acad, paste this code into a code window, save the project. Do not close acad and open an existing drawing, the lines will be deleted and polylines will replace them, if you do a list on a line and it is not a poly something is wrong.

Private Sub AcadDocument_Activate()
    Dim entry As AcadObject
    Dim MyLine As AcadLine
    Dim MyTrace As AcadTrace
    Dim MyPoly As AcadPolyline
    Dim MyThick As Double
    Dim MyLineType As ACAD_LTYPE
    Dim MyPoints(0 To 5) As Double
    Dim CordPoints
    MyThick = 0.2  '<- polyline width adjust as required
    For Each entry In ThisDrawing.ModelSpace
         If TypeOf entry Is AcadLine Then
            Set MyLine = entry
            MyLineType = MyLine.Linetype
            MyPoints(0) = MyLine.EndPoint(0)
            MyPoints(1) = MyLine.EndPoint(1)
            MyPoints(2) = 0
            MyPoints(3) = MyLine.StartPoint(0)
            MyPoints(4) = MyLine.StartPoint(1)
            MyPoints(5) = 0
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPoints)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Linetype = MyLineType
            MyPoly.Layer = MyLine.Layer
            MyPoly.Update
            MyLine.Delete
         ElseIf TypeOf entry Is AcadTrace Then
            Set MyTrace = entry
            CordPoints = MyTrace.Coordinate(0)
            MyPoints(0) = CordPoints(0)
            MyPoints(1) = CordPoints(1)
            MyPoints(2) = CordPoints(2)
            CordPoints = MyTrace.Coordinate(3)
            MyPoints(3) = CordPoints(0)
            MyPoints(4) = CordPoints(1)
            MyPoints(5) = CordPoints(2)
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPoints)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Layer = MyTrace.Layer
            MyPoly.Update
            MyTrace.Delete
        ElseIf TypeOf entry Is AcadPolyline Then
            entry.ConstantWidth = MyThick
            entry.Update
        End If
    Next entry
    Set entry = Nothing
    Set MyTrace = Nothing
    Set MyPoly = Nothing
    Set MyLine = Nothing
End Sub

Good luck
dragontooth


 

by: denverbronxPosted on 2006-07-26 at 07:48:37ID: 17184713

Well dragontooth, I am feeling quite long in the tooth.  I pasted this sub into the VBE window as you asked and I saved the project.  It does not appear to be working on anything.  Is there something I am doing wrong.  How do you get this sub to initiate and run.  I see that it is loaded but there isn't any changes taking place to my drawing.  I am feeling really stupid right now.

 

by: denverbronxPosted on 2006-07-26 at 07:49:23ID: 17184723

I mean you have posted two subroutines here, Am I to load them both??

 

by: dragontoothPosted on 2006-07-26 at 08:11:35ID: 17184979

Either sub will initiate and run when you open an existing drawing. Or it is supposed to :)
The last sub works for sure because I did it. The line weight/thickness was not correct but I inserted a 22x34 drawing on a 8.5x11 page, so I increased the thickness to 0.5.

I inserted the wmf into the Word doc, with insert pic from file.

I have just plain old acad with no 3rd party apps. If you want to you can view my profile and send a drawing, I'll see if I am having a brain cramp or if something else is interfering, also send a word doc (I have Office 2000)

Otherwise I'll set it up for you.

LOL long in the tooth, you can't be that old

dragontooth

 

by: denverbronxPosted on 2006-07-26 at 13:09:17ID: 17187619

Well dragontooth,

I am 56 to be exact.  A strange thing happen while I was working in a drawing today. all of the sudden line weights (thickness) were changing.  So I believe this sub is working but I don't think it works on all lines.  Perhaps I didn't give it enough time.  I have been working with AutoCad since 1985 and I have lost some of my expertise by not using it everyday.  I now am more of a salesman than an engineer.  But I get to do all of it at times.  I am going to try this some more this afternoon.  I think it is working but I still am not seeing all the lines update.  The text is still thin and I don't know how to resolve that.  It used to be so easy with AmiPro and HPGL files and now it is a pain in the a$$.

 

by: dragontoothPosted on 2006-07-26 at 13:49:39ID: 17187987

LOL I am 48, worked with acad since '87 inhouse developed graphics apps since '77. I used to detail steel, now I write the apps to detail steel. I prefer importing plt files into wordperfect, I got what I wanted. Worked real good for "help" files.

I am not looking at splines at all, am adjusting plines' width not the thickness. Change the text to ttf and bold, that 'may' work. I can't remember if acad 2000i does ttf right, but I know 14 didn't.

Let me kow I'll still be around :)
dragontooth

 

by: dragontoothPosted on 2006-08-01 at 11:57:31ID: 17226915

denverbronx,

I think the lines that are not changing are in blocks? Maybe?

Otherwise how is it going?

dragontooth

 

by: denverbronxPosted on 2006-08-01 at 12:32:26ID: 17227283

Actually, they are not blocks.  The ones that won't change are just plain polylines.  I cannot explain why they are not changing.  I am going on vacation 8/3 thru 8/9 and I won't be able to check this out b4 I return.  It is extremely busy for me at work these days.  I bounce from one problem (spelled opportunity) to the next.  This problem has been hanging around for several years but I need to get resolved.  Thanx, d'tooth for your patience.  Perhaps I could send you the file in question??

 

by: dragontoothPosted on 2006-08-01 at 13:28:05ID: 17227901

OK see my profile for e-mail will returned fixed with the fix installed.

I think the polys are 3dpoly I am not looking at that one.

<<I bounce from one problem (spelled opportunity) to the next.>>
LOL that is why I have the "job" I have, I fix all the "opportunities" from here, I used to call myself the fireman for all the hotspots I get thrown into, interesting though, never a dull moment. :)

dragontooth

 

by: dragontoothPosted on 2006-08-01 at 17:29:08ID: 17229499

My Bad, I wasn't looking for circles at all must less lwpolylines these will fix it.

Private Sub AcadDocument_Activate()
    Dim entry As AcadObject
    Dim MyLine As AcadLine
    Dim MyTrace As AcadTrace
    Dim MyPoly As AcadPolyline
    Dim MyThick As Double
    Dim MyLineType As ACAD_LTYPE
    Dim MyPoints(0 To 5) As Double
    Dim ACrl As AcadCircle
    Dim MyPts(0 To 8) As Double
    Dim CordPoints
    MyThick = 0.1  '<- polyline width adjust as required
    For Each entry In ThisDrawing.ModelSpace
         If TypeOf entry Is AcadLine Then
            Set MyLine = entry
            MyLineType = MyLine.Linetype
            MyPoints(0) = MyLine.EndPoint(0)
            MyPoints(1) = MyLine.EndPoint(1)
            MyPoints(2) = 0
            MyPoints(3) = MyLine.StartPoint(0)
            MyPoints(4) = MyLine.StartPoint(1)
            MyPoints(5) = 0
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPoints)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Linetype = MyLineType
            MyPoly.Layer = MyLine.Layer
            MyPoly.Update
            MyLine.Delete
         ElseIf TypeOf entry Is AcadTrace Then
            Set MyTrace = entry
            CordPoints = MyTrace.Coordinate(0)
            MyPoints(0) = CordPoints(0)
            MyPoints(1) = CordPoints(1)
            MyPoints(2) = CordPoints(2)
            CordPoints = MyTrace.Coordinate(3)
            MyPoints(3) = CordPoints(0)
            MyPoints(4) = CordPoints(1)
            MyPoints(5) = CordPoints(2)
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPoints)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Layer = MyTrace.Layer
            MyPoly.Update
            MyTrace.Delete
        ElseIf TypeOf entry Is AcadPolyline Then
            entry.ConstantWidth = MyThick
            entry.Update
        ElseIf TypeOf entry Is AcadLWPolyline Then
            entry.ConstantWidth = MyThick
            entry.Update
        ElseIf TypeOf entry Is AcadCircle Then
            Set ACrl = entry
            MyPts(0) = ACrl.Center(0) + ACrl.radius
            MyPts(1) = ACrl.Center(1)
            MyPts(3) = ACrl.Center(0) - ACrl.radius
            MyPts(4) = ACrl.Center(1)
            MyPts(6) = ACrl.Center(0) + ACrl.radius
            MyPts(7) = ACrl.Center(1)
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPts)
            MyPoly.SetBulge 0, -1#
            MyPoly.SetBulge 1, -1#
            MyPoly.SetBulge 2, -1#
            MyPoly.ConstantWidth = MyThick
            MyPoly.Layer = ACrl.Layer
            MyPoly.Linetype = ACrl.Linetype
            MyPoly.Update
            ACrl.Delete
        End If
    Next entry
    Set entry = Nothing
    Set ACrl = Nothing
    Set MyTrace = Nothing
    Set MyPoly = Nothing
    Set MyLine = Nothing
    ThisDrawing.Regen acActiveViewport
End Sub

dragontooth

 

by: dragontoothPosted on 2006-08-14 at 06:16:34ID: 17309796

This will take care of arcs.

Private Sub AcadDocument_Activate()
    Dim entry As AcadObject
    Dim MyLine As AcadLine
    Dim MyTrace As AcadTrace
    Dim MyPoly As AcadPolyline
    Dim MyThick As Double
    Dim MyLineType As ACAD_LTYPE
    Dim MyPoints(0 To 5) As Double
    Dim ACrl As AcadCircle
    Dim MyPts(0 To 8) As Double
    Dim CordPoints
    MyThick = 0.01  '<- polyline width adjust as required
    For Each entry In ThisDrawing.ModelSpace
         If TypeOf entry Is AcadLine Then
            Set MyLine = entry
            MyLineType = MyLine.Linetype
            MyPoints(0) = MyLine.EndPoint(0)
            MyPoints(1) = MyLine.EndPoint(1)
            MyPoints(2) = 0
            MyPoints(3) = MyLine.StartPoint(0)
            MyPoints(4) = MyLine.StartPoint(1)
            MyPoints(5) = 0
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPoints)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Linetype = MyLineType
            MyPoly.Layer = MyLine.Layer
            MyPoly.Update
            MyLine.Delete
         ElseIf TypeOf entry Is AcadTrace Then
            Set MyTrace = entry
            CordPoints = MyTrace.Coordinate(0)
            MyPoints(0) = CordPoints(0)
            MyPoints(1) = CordPoints(1)
            MyPoints(2) = CordPoints(2)
            CordPoints = MyTrace.Coordinate(3)
            MyPoints(3) = CordPoints(0)
            MyPoints(4) = CordPoints(1)
            MyPoints(5) = CordPoints(2)
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPoints)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Layer = MyTrace.Layer
            MyPoly.Update
            MyTrace.Delete
        ElseIf TypeOf entry Is AcadPolyline Then
            entry.ConstantWidth = MyThick
            entry.Update
        ElseIf TypeOf entry Is AcadLWPolyline Then
            entry.ConstantWidth = MyThick
            entry.Update
        ElseIf TypeOf entry Is AcadCircle Then
            Set ACrl = entry
            MyPts(0) = ACrl.Center(0) + ACrl.Radius
            MyPts(1) = ACrl.Center(1)
            MyPts(3) = ACrl.Center(0) - ACrl.Radius
            MyPts(4) = ACrl.Center(1)
            MyPts(6) = ACrl.Center(0) + ACrl.Radius
            MyPts(7) = ACrl.Center(1)
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPts)
            MyPoly.SetBulge 0, -1#
            MyPoly.SetBulge 1, -1#
            MyPoly.SetBulge 2, -1#
            MyPoly.ConstantWidth = MyThick
            MyPoly.Layer = ACrl.Layer
            MyPoly.Linetype = ACrl.Linetype
            MyPoly.Update
            ACrl.Delete
        ElseIf TypeOf entry Is AcadArc Then
            Dim Arc As AcadArc
            Set Arc = entry
            MyPts(0) = Arc.StartPoint(0)
            MyPts(1) = Arc.StartPoint(1)
            MyPts(2) = Arc.StartPoint(2)
            MyPts(3) = Arc.EndPoint(0)
            MyPts(4) = Arc.EndPoint(1)
            MyPts(5) = Arc.EndPoint(2)
            MyPts(6) = Arc.EndPoint(0)
            MyPts(7) = Arc.EndPoint(1)
            MyPts(8) = Arc.EndPoint(2)
            Set MyPoly = ThisDrawing.ModelSpace.AddPolyline(MyPts)
            MyPoly.SetBulge 0, Tan(Arc.TotalAngle / 4)
            MyPoly.ConstantWidth = MyThick
            MyPoly.Layer = Arc.Layer
            MyPoly.Linetype = Arc.Linetype
            MyPoly.Update
            Arc.Delete
        End If
    Next entry
    Set entry = Nothing
    Set Arc = Nothing
    Set ACrl = Nothing
    Set MyTrace = Nothing
    Set MyPoly = Nothing
    Set MyLine = Nothing
    ThisDrawing.Regen acActiveViewport
End Sub

dragontooth

 

by: denverbronxPosted on 2006-08-14 at 06:32:09ID: 17309899

It works, d'tooth, you have been very, very helpful.  Thanks so much for your fine efforts.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...