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

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

Layouts and Variants

JWayman
1-Newbie

Layouts and Variants

Good morning.
I have a reasonably complex assembly that is driven by a skeleton/layout
combination. When I change the value of one of the parameters in the layout,
the whole model changes accordingly, right through the model tree, as
expected. So far, So good.
Now, I have one product based on this assembly with one specific set of
parameter values, and another product with another set. I also have a third
set of parameter values, which is only a 'maybe, what-if' set.
Clearly, when I use set 1, I can produce a complete pack of drawings and
models defining the first product.
However, when I want to produce another pack for the second product, I would
really prefer it if I still had the facility to refer to the models and
drawings of the first product. Similarly, when I do the 'What-If' analysis,
I need to retain the firm product sets of parameters too.
I envisage using the layout to do this. I could see me having three (or
four, or n) columns in the layout table, each having its own set of values
for the parameters in the layout. I would have another parameter ('SET'),
with a range of values (Product1,Product2,What_if3...Xxxn), each of which
would point the layout to the appropriate column of the table. Something
along the lines of 'IF SET = Product 2 THEN COLUMN = 2'.
Now, I am no programmer. I therefore come to a grinding halt when I get to
the above.
Is what I suggest possible?
Does it represent the most appropriate approach?
How is it accomplished? (Specific line-by-line answer here, please! :o))
If there is a better way, what is it?

Any constructive suggestions would be gratefully received.

WF2, M220

Thanks,


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

A bit of an update:
I have discovered how to create a parameter table in a Layout, with multiple
sets of values for each parameter.
I cannot, presently, display these values in a table on the Layout drawing.
I note the parameter table uses the Family Table editor, so I tried to do a
2D repeat region, with &fam_inst... etc. No good.
I can get it to fill a 2D repeat region with the values of one of the
instances, but I can't crack the 2nd dimension - the instances.
Any suggestions?

Regards,


John
Top Tags