MsgBox "LightWeight Polyline is " & entLWPoly.Length & " units long. MsgBox "LightWeight Polyline is " & entLWPoly.Length & " units long." MsgBox "Polyline is " & entPoly.Length & " units long." ![]() MsgBox "Line is " & entLine.Length & " units long." MsgBox "No lines and polylines selected!" ![]() Set objSS = ThisDrawing.SelectionSets("MySS") IntCode(0) = 0: varData(0) = "LINE,POLYLINE,LWPOLYLINE" And, as an additional note, Autodesk has built in a bit of confusion with the various names given to polylines in the different context.įor Each SOS In ThisDrawing.SelectionSets Casting the entity as the more specific type allows full access. Note: some object properties are available while still cast only as a general AcadEntity. ![]() Gain access to thousands of parts and additional features with industry-specific toolsets, APIs to automate common processes and 1,000+ third-party apps. ![]() Customise your workspace and extend AutoCAD Complete your work more quickly. The example also shows how to cast each entity to it’s proper type before querying the. Create, view, edit and annotate drawings with the AutoCAD mobile app or on any computer using the AutoCAD web app. The method employs a “Filter” to a select on screen call. This example shows an alternative method for isolating lines and polylines.
0 Comments
Leave a Reply. |