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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Top Level Assembly Parameter controling Parameter value in Lower Level Assemblies

TedOtto
3-Visitor

Top Level Assembly Parameter controling Parameter value in Lower Level Assemblies

I have an assembly with two subassemblies assembled into it. Each of my subassemblies have a progam in them with a parameter string to control the state of the assembly, example position 1 or position 2. Is there a way to have a program in the main assembly that will control the parameter value of the two subassemblies? Example, if the main assembly has the string parameter set to position 1, then both subassemlies will have their parameters set to position 1...if main assembly is set to position 2, subassemblies will be set to 2 as well.

Is this possible, and if so, howwould I set up the program?

Thanks!

Ted


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.
3 REPLIES 3

The simplest way is this: suppose you have top level assembly top.asm, with
sub1.asm and sub2.asm.



In top.asm, go to the Relations dialog box (Tools > Relations). Pick Show >
Session Id> Assembly > Pick. Click on sub1.asm & note the session id (it
shows up in the message window). Do the same for sub2. Hit done/return out
of the menu box & return to the Relations window.

Add the following relations:

<the parameter=" name=">:<the session=" id=" for=" sub1="> = <the parameter=" name=">

<the parameter=" name=">:<the session=" id=" for=" sub2="> = <the parameter=" name=">



--



Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
<">mailto:-> -
<">http://www.mgsincorporated.com>

Another is to use a layout. Put the parameters in the layout and declare the layout to each subassy and the assy.

Timothy

Yet another method is to use the Pro/PROGRAM Execute statement.

Bob Monat
Jerand Technical Services, Inc.
bob@jerand.com
www.jerand.com
1-317-875-6087


Top Tags