Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

SetupSheet post

dames123
Advocate

SetupSheet post

dames123
Advocate
Advocate

Hello,

 

Is there a way to pull the model from the machine file in the setupsheet post? Right now, it uses a Post property, but the user has to set the property in the NCProgram dialog.

programInfo["program.Machine"] = getProperty("Machine");

I would like to pull it directly from the machine file using the model info so there is no user interaction.

 

dames123_0-1724424870008.png

 

Any help is appreciated.

 

 

0 Likes
Reply
Accepted solutions (1)
252 Views
2 Replies
Replies (2)

viacheslav.shapilov
Autodesk
Autodesk
Accepted solution

machineConfiguration.getModel() should return what you need.


Viacheslav Shapilov
Developer Technical Services
Autodesk Developer Network


dames123
Advocate
Advocate
Perfect! Thank you.
0 Likes