VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
Anonymous
170 Views, 1 Reply

Divde in VBA

Is there a way to divide polylines,splines,ect using VBA and get the
coordinates in order to use them in a routine for calculations or to export
to another application?
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

While dividing a line or arc is fairly trivial and can be done
in VBA, dividing any object that the DIVIDE command works with
would not be easy to do.

However, you can use the Divide(); DivideEx(); Measure() and
MeasureEx() methods of the AcadXCurve class, which is part of
the AcadX ActiveX Extension Library, to divide/measure anything
the DIVIDE or MEASURE commands accept.

http://www.caddzone.com/acadx

"BILL_S" wrote in message news:2ED52C28C344A0C8EDBA9B12D20B4AA7@in.WebX.maYIadrTaRb...
> Is there a way to divide polylines,splines,ect using VBA and get the
> coordinates in order to use them in a routine for calculations or to export
> to another application?
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost