Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi!
I have thousands parts in a assembly,and I need to create drawing of the appropriate part.I have no ability to finish the works in one day.So I need a function that when I create a drawing,the appropriate part will be added a parametric record (called "drw" or other)and I will use search tool to find which part has no the parametric.so that I will know how many parts will be left over. If it possible,Please see the below pictureThanks!
If you want the value of the parameter to be updated "manually", just create a parameter of the type "Yes No" with default value "No".
Now create a mapkey to change this value to "YES", Save the mapkey.
I think you have a mapkey for creating a drawing with the same name of active model, just include the new mapkey in the beginning, using nesting technique for example.
This way each time you create a new drawing, the value or the parameter is updated.
Now, if you want Creo to check dynamically if a drawing exists for that model, I think you will need Toolkit or Jlink.
Cheers
Jose
Thanks for your reply quicky."I think you have a mapkey for creating a drawing with the same name of active model,"Yes,l have used the mapkey that you provide called "new_drw.exe"http://communities.ptc.com/message/228370#228370 Now it seems I had to create the parameter manually.Thanks!