ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to draw a line with distance and vector ?

1 REPLY 1
Reply
Message 1 of 2
Chaos0205
415 Views, 1 Reply

How to draw a line with distance and vector ?

I was trying to create a command that based on 2 point(startpt,endpt) and 1 interget(distance) input, it will draw 2 line: 1 from 2 point and the other exactly a distance away from the 1st line. If anyone can help me to solve the problem in the title, this would be a big help . Thanks in advance!

1 REPLY 1
Message 2 of 2
StephenPreston
in reply to: Chaos0205

Its probably easiest to draw one line and then call getOffsetCurves on that line to return the second line you can add to the database.

 

Cheers,

Stephen Preston
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report

”Boost