Community Tip - You can change your system assigned username to something more personal in your community settings. X
Hello,
We are experiencing difficulties opening drawings directly from the model . Currently, our designers have to manually go to the server information(Windchill), navigate to the content tab, find the drawing reference, and only then open the drawing.
Is there a way to use Creo JS to programmatically find the drawing reference associated with the current model in Windchill, and then automatically download and open it?
Any advice or example scripts would be greatly appreciated!
Solved! Go to Solution.
You don,t need to purches, there is Java API as well. I guess you can do that with a http request. The parent info is not written in the part, because of rename. If you do this via SQL you have to take permission or ACLs into account, so this may a long journey. If you have a rule <SolidName> equal to <DrawingName> then just try to open the Drawing. Don‘t forget to figure out the drawing, based on dependency types. just check the data in Windchill.
With external data you can write this to the solid as well, because renaming is most of the time due to numbering not allowed.
You need a SQL Query to figure out all related Drawings in Windchill.
Is this something we need to purchase separately, or is there free access available?
You don,t need to purches, there is Java API as well. I guess you can do that with a http request. The parent info is not written in the part, because of rename. If you do this via SQL you have to take permission or ACLs into account, so this may a long journey. If you have a rule <SolidName> equal to <DrawingName> then just try to open the Drawing. Don‘t forget to figure out the drawing, based on dependency types. just check the data in Windchill.
With external data you can write this to the solid as well, because renaming is most of the time due to numbering not allowed.
Thank you for your reply. This i'll try to invest this time to make this possible. Due to we don't have SolidName === DrawingName.