Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

acedGetPoint in Revit

1 REPLY 1
Reply
Message 1 of 2
sizy458
136 Views, 1 Reply

acedGetPoint in Revit

Hello ,

How do i do programmaticaly in evit for pick two points with jig line ?

 

Selection sel = uiDoc.Selection;
var p1 = sel.PickPoint(ObjectSnapTypes.Nearest);
var p2 = sel.PickPoint(ObjectSnapTypes.Nearest);
p2 = p2;

 

I don't see method with origine point , How trace jig line ?

 

Thank.

1 REPLY 1
Message 2 of 2
jeremy_tammik
in reply to: sizy458

The Revit API does not provide the functionality of AutoCAD ObjectARX AcEd jigs.

 

You can try to simulate it with workarounds:

 

 

However, I would recommend just sticking to the standard UI functionality officially supported by the Revit API whenever possible, and re-think your UI input methods until they fit into the Revit API UI standards.

  

Jeremy Tammik, Developer Advocacy and Support, The Building Coder, Autodesk Developer Network, ADN Open

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

Post to forums  

Autodesk Customer Advisory Groups


Rail Community