Skip to main content
12-Amethyst
December 15, 2024
Solved

Read a parameter

  • December 15, 2024
  • 3 replies
  • 997 views

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

Best answer by YaroslavSin

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

3 replies

17-Peridot
December 17, 2024

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

Community Moderator
December 20, 2024

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.

RPN
18-Opal
December 20, 2024

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