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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

SUMMARY &model_name and solution for many part update through modelcheck.

rrich
2-Guest

SUMMARY &model_name and solution for many part update through modelcheck.

It has been an interesting thread today and thank you everyone for your
input. I took pieces from all and came up with these conclusions and
solution.



It is known that adding a note with &custom_parameter_name:att will place
the parameter text in the note based to the attachment point. Thanks, Doug
for pointing this tidbit out.



It is known that if you want to use the system parameter &model_name in a
note you must include the system ID in the format &model_name:ID# In order
to find the correct system ID Ted supplied this solution.



You can show a dimension from the component you're searching for the ID for.
Once the dimension is on the print, toggle the "switch dimensions" button
and it should show the dimension name followed by the ID (example :2). In
your note, use &model_name:2 and it'll pull the model name from that
component. After you find the ID, you can then erase the dimension.



Additionally you can use Martin's Solution



The session id may be obtained thru the relations window in a drawing.

TOOLS

RELATIONS

"look in" PART

select a part

SHOW

SESSION ID

PART

start selecting parts and write down the numbers on a paper copy of the same
drawing.



Either way both can be tedious and prone to mistakes as you are manually
doing something



My Solution:

I knew that adding a parameter (NAME) to my parts would allow me to put note
in very simply with the :att method so I had to come up with a way to add
the parameter which did not come to me until Dustin suggested adding a
relation NAME=rel_model_name. What is not apparent is that if you add a
relation like this it automatically adds NAME as a parameter from the
relation input screen. I also did not know rel_model_name would get me the
same info as system parameter &model_name. So I set off to use modelcheck
to add this relation automatically to my parts.

STEPS I performed

1. Opened full assembly with 200+ parts

2. Went to menu Tools / Configure ModelCheck

3. Click + on Configuration settings

4. Click + on check files

5. Click Create new file or see if default_checks.mch opens

6. Click Add row button

7. From Pull down box under check name scroll down to RELATION_MISS
set options YNEW Interact W

8. Click save as button type in file name default_checks.mch let it
over write current one

9. Click on + on Start files

10. Click on nostart.mcs if not found create new file

11. Click on Add row button

12. Click on highlighted space in the Check Name column

13. Click on the word Part in the lower window section then click on
Select item type to the left of that

14. A new line will pop up below your cursor click on Accuracy and scroll
down to Relation

15. Value(Alphabetic) appears type in YOUR RELATION on the right in my
case it was NAME=rel_model_name

16. Click back on Value (Alphabetic) then click the Add item button and
you should see the line appear in the upper window.

17. Click Save as button and type in filename notart.mcs let it over write
current one.

18. SIDE NOTE if you want to add other parameters to your parts you can do
that at this time also see jpg below for what adding parameter looks like.

19. Close that window

20. Go to menu Analysis/ModelCheck/ModelCheck Interactive

21. Pick All Levels from legacy pop up menu wait for it to go through all
components.

22. Now you should have a parameter in each part called NAME and the value
should be equal to the part name. Additionally if you added other
parameters all parts will now have them too.









Please note our new address below!



Thanks,



Ron Rich

DIRECTOR of MECHANICAL SYSTEMS



smartshape


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1
rollinsn
1-Newbie
(To:rrich)

Ron,

Thanks for the great summary. And, for the terrific tutorial in Model
Check.

-Nate
Top Tags