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: 

How to read output value from Dynamo using Revit API?

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
923 Views, 6 Replies

How to read output value from Dynamo using Revit API?

Hi All,

 

I've created custom ribbon in Revit and run Dynamo script from that ribbon.

That Dynamo script is written to measure distance between user selected points.

Now I need to read the output measurement value and display that value in my form.

Is it possible to do this using Revit API?

Please help me to find out the solution for this.

6 REPLIES 6
Message 2 of 7
yimin.chenTW
in reply to: Anonymous

Hi,

I'm just curious why not measure the distance of the two points all simply by Revit API?

Yimin Chen
Developer Consultant
Developer Technical Services
Autodesk
Message 3 of 7

Hi yimin,

 

Thanks for your response. But my Client requirement is to run and read output from Dynamo using Revit API.

Is it possible to read Dynamo output using Revit API?

Please help me to get upcoming projects.

Message 4 of 7

I haven't tried what you want before, but it looks like Dynamo Player fits exactly the requirements.

 

Yimin Chen
Developer Consultant
Developer Technical Services
Autodesk
Message 5 of 7
Anonymous
in reply to: yimin.chenTW

Hi Yimin,

 

Thanks for reading my post. Specifically I need to read output from Dynamo using Revit API.

Is it possible to do this?

Message 6 of 7
Anonymous
in reply to: yimin.chenTW

Hi Yimin,

 

Thanks for the reply. Can we run Dynamo player using Revit API and Shall we take output in Dynamo Player?

 

Please advise your feedback.

Message 7 of 7
yimin.chenTW
in reply to: Anonymous

Hi,

There is no direct way to get the output from Dynamo through Revit API.

 

The idea of running Dynamo script from Revit has been implemented as Dynamo Player.

If you really don't want to use Dynamo Player, you can develop your own "Dynamo Player" by compiling .dyn files through the source code of Dynamo. But I'm pretty sure you'll have a lot of work to do if you choose this way.

 

Below is the the git of the Dynamo, maybe you'd like to take a look at it:
https://github.com/DynamoDS/Dynamo

Yimin Chen
Developer Consultant
Developer Technical Services
Autodesk

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

Post to forums  

Forma Design Contest


Rail Community