cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

J-Link: Set PTC Common Name when creating a drawing from template

sbots
10-Marble

J-Link: Set PTC Common Name when creating a drawing from template

I am trying to create an application that will allow me to create a drawing from template. I have most everything figured out except for the value of PTC Common Name. From what I can tell there is no way to set the PTC Common Name value on the creation of the drawing and once the drawing is created it can not be modified because it is controlled by PDM Link. Does anyone have any suggestions or workarounds?

Thank you in advance.

Scott

1 REPLY 1

Scott -

I'm currently addressing this same issue in one of my applications.
Mine is written in C, however, and there is a Pro/Toolkit function
to address this (ProMdlCommonnameSet()).

I believe the JLink method you want is pfcModel.Model.SetCommonName.
Check the "Models" page of the JLink user guide.

|+| M a r k |+|

Mark Stallard
Engineering Information Management
Integrated Solutions & Development
Integrated Defense Systems
Raytheon Company



(business)
+1.978.436.6016
(cell)
+1.617.331.5443
(tie line)
239.6016
-

880 Technology Drive
Billerica, MA 01821
www.raytheon.com


This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this
message in error, please so advise the sender by reply e-mail and delete
this message. Thank you for your cooperation.




Announcements


Top Tags