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:Ā 

Launching IExternalCommand from DMU

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
418 Views, 1 Reply

Launching IExternalCommand from DMU

Dear Jeremy Tammick!

First of all, I wanted to thank you for your assistance and articles about Revit API! They really helped me out of building a Revit module template for Technology Designing, but I'm still having  problems that  I was wondering if you could help me solve.

The problem is that I need to use PickObject method from Dynamic Model Updater (DMU), but if I understand correctly, I can't do that from DMU, so I was wondering if I could launch or activate an another IExternalCommand that may contain that method. What would you suggest me to do? Or could you describe me the best and easy way to solve this problem?

I'm using C#

1 REPLY 1
Message 2 of 2
jeremytammik
in reply to: Anonymous

Thank you for your appreciation!

 

The advantage of the DMU is that it enables you to add functionality into the same transaction as the modification that triggered the updater.

 

Therefore, you cannot interact with the user in any way inside the DMU. No PickObject, no external command.

 

You will have to redesign your add-in architecture accordingly.

 

Cheers,

 

Jeremy

  



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

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

Post to forums  

Forma Design Contest


Rail Community