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

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

SmartAssembly new user simply questions

ptc-46674
1-Newbie

SmartAssembly new user simply questions

I've created a simple script...


where I search for a dimension in a part and I want the user to be prompted to enter a new value for the dimension


and then have the model regenerate.


Problem is I can not find how to prompt the user to enter a new value...?


see the code below....


BEGIN_ASM_DESCR


USER_SELECT PART THIS_PART


SEARCH_MDL_REF THIS_PART DIMENSION "D5" D5_DIM_VALUE


SET_DIM_VALUE D5_DIM_VALUE


REGEN_MDL THIS_PART


END_ASM_DESCR


Any help would be greatly appreciateed


Thanks in advance


Dave



Dave McClinton


Mechanical Designer


Xylem - Leopold


227 South Division St


Zelienople, PA. 16063


Email:David.McClinton@xyleminc.com


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

You have a couple of options, but the easiest is probably USER_INPUT_PARAM.


Design well!

Top Tags