Nested Type Parameter Mapping

Nested Type Parameter Mapping

Mbruno-JDB
Advocate Advocate
696 Views
10 Replies
Message 1 of 11

Nested Type Parameter Mapping

Mbruno-JDB
Advocate
Advocate

I'm working on a steel counter base family.

I have a stile/leg component that has 2 types: 2" or 3".

I have a left/right labels to control the stile/leg on each side.

The size of the stile/leg is controlled by the Width type parameter in the family.

I'm trying to get reference planes to adjust to the width of the stile/leg so I can get an overall of the cabinet box plus the stiles/legs.

I've tried to snap the reference plane to the outside of the stile/leg, but when I change types, it breaks.

I can't figure out a way to pass the Width type parameter from the stile/leg through to the host family to control the spacing of the reference planes.

MbrunoJDB_0-1728334225992.png

 

 

0 Likes
697 Views
10 Replies
Replies (10)
Message 2 of 11

SteveKStafford
Mentor
Mentor

Nesting works better if you use instance parameters. Instead of using two type let the parent drive their size. The other way is to use a Family Type parameter and assign the correct type to each type in the parent. If you're willing to share the family it's easier for someone here to critique and/or modify, and then share it back.


Steve Stafford
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
EESignature

0 Likes
Message 3 of 11

Sleepingfish_Kuo
Advocate
Advocate

Don't lock everything to the reference.

if you have value A,B and value C = A+B

just lock A and B to the reference, and C just show and be edit in the parameters.

0 Likes
Message 4 of 11

azad.Nanva
Advisor
Advisor

can you post your family?

If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 5 of 11

Mbruno-JDB
Advocate
Advocate

Family attached.

0 Likes
Message 6 of 11

Mbruno-JDB
Advocate
Advocate

The person who originally built these family locked the subcomponents to reference planes in the host to flex them. As I work through them, I'm passing through the instance parameters to the host so one dimension changes the host and the sub.

I did have the reference lines working he way I wanted when I had two instances of the leg in the same place, with a visibility parameter to choose if you want a 2" or 3" stile.  I switched to a label on the type to make the family lighter.  But now the reference planes on the outside of the legs won't stick to the legs because they get replaced when the type changes.

I won't need to lock the reference plane to the outside of the stile if I can get he Width parameter from the stile.

0 Likes
Message 7 of 11

azad.Nanva
Advisor
Advisor

 

is this correct?

 

azadNanva_0-1728401387392.png

or this one ?

azadNanva_1-1728401555593.png

azadNanva_2-1728401733534.png

azadNanva_3-1728401850476.png

 

is these correct ?

azadNanva_4-1728402046938.pngazadNanva_5-1728402075242.png

 

azadNanva_6-1728402122282.png

these are all correct or not (i want to know)

do you want i make a counter that you need but in my way? 🤔

 

If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 8 of 11

Mbruno-JDB
Advocate
Advocate

@azad.Nanva I'm not sure what most of your images are showing.

MbrunoJDB_0-1728410412950.png

 

0 Likes
Message 9 of 11

azad.Nanva
Advisor
Advisor

your file is not 2024,it is 2018.

i make the new one in 2024.

If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 10 of 11

azad.Nanva
Advisor
Advisor

Everything is in millimeters and you can easily change all sizes

 

azadNanva_0-1728464282323.png

 

If it solves your problem, please click Accept to enhance the Forum.
0 Likes
Message 11 of 11

Mbruno-JDB
Advocate
Advocate

@azad.Nanva I've gone back to something like what you posted because there was another hurdle with using a family type parameter.

I try not to use so many instance parameters because my drafters can't be trusted to enter sizes correctly and just stretch things so they're close.

 

0 Likes