Skip to main content
Dec 15, 2024 5:19 PM UTC
Solved

Read a parameter

How would I read a parameter that is located in the part from the drawing?

I have a drawing open and active and with JLink I want to read a certain parameter that resides in the Part not the drawing.
I can open the part and get, but I would rather do it from the drawing so I don't need to open part. Is this possible?
Thanks

Dec 17, 2024 4:26 AM UTC

Drawing Information
Methods Introduced:
• pfcModel2D.Model2D.ListModels
• pfcModel2D.Model2D.GetCurrentSolid

3 replies

Dec 17, 2024 4:26 AM UTC

Drawing Information
Methods Introduced:
• pfcModel2D.Model2D.ListModels
• pfcModel2D.Model2D.GetCurrentSolid

Dec 20, 2024 4:14 AM UTC

Hello @jbryant74, 

 

It looks like you have a response from a community member. If it helped to answer your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Dec 20, 2024 9:57 PM UTC

It is not required to have a model displayed in a window, to change, or to create parameter, you need only the model handle.