Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a MLine with vba and user input

Status
Not open for further replies.

jbone52

Technical User
Apr 29, 2005
7
US
Does anyone now how to change the scale of an mline in vba? I am trying to write a little program that lets the user specify the scale of the mline before they draw it. Say the user is drawing a wall. Some walls are 6" think while others are 12". I have an input box asking for the width, the user then picks the start and end point of the mline and the mline is added to the drawing. But I can't get the scale of the mline to change. It is always inserted at 1. How can I change this? Any ideas?
 
I believe linetypescale is a property of an AcadMline. Can you change the property after it is created and then update?
 
I think that only chages the way the line looks if it is dashed. A higher linetype scale, the closer the dashes are together (I think).

I am trying to get the distance between the lines of the mline to increase.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top