Thread: Add elemt info
View Single Post
  #6  
Old 12-07-2018, 03:37 PM
Andy Poulsen Andy Poulsen is offline
Administrator
 
Join Date: Apr 2003
Location: Fort Collins, Colorado
Posts: 273
Re: Add elemt info

You could do something like this:
Code:
(sd-am-add-info-attributes myobj (list "TR:WTtr:PTC_WM_LIFECYCLE_STATE:2:0:1:-102:1:0"))
Note that you will need to have myobj specified in your dialog, where myobj is an Annotation object.

The documentation for sd-am-add-info-attributes (and other related functions) can be found in the help.
Select "Documentation for Advanced Users"
Select "Integration Kit"
Select "Reference Manual"
Scroll down and select "Info Attributes" (under the Annotation Module heading)
Read about the functions and how they work.

I hope this helps!

andy
__________________
Andy Poulsen
AI MAXTools: Dream. Design. Done. It's that easy!
Add-ins bringing new functionality and speed to Creo Elements/Direct and CoCreate products. Now available for v17-v20+!
See them in action at www.ai-maxtools.com and then try them for yourself -- FREE!
Reply With Quote