Announcements

We are currently experiencing an issue impacting some Autodesk Products and Services - please refer to the Autodesk Health Dashboard for updates.

Yes/No parameter to turn off other Yes/No parameters

Yes/No parameter to turn off other Yes/No parameters

Jeremy.Van.Ryswyk
Participant Participant
2,551 Views
9 Replies
Message 1 of 10

Yes/No parameter to turn off other Yes/No parameters

Jeremy.Van.Ryswyk
Participant
Participant

Hi, is it possible that when Showtext is off, all the graphical parameters will turn off. But still keep the graphical parameter's to the type?

JeremyVanRyswyk_0-1683063310311.png

 

0 Likes
2,552 Views
9 Replies
Replies (9)
Message 2 of 10

Alfredo_Medina
Mentor
Mentor

No. Seems that what you are doing would be more efficient using a family type parameter that contains different notes, one for each discipline. In that case you would need 2 parameters only, one that handles visibility and another one (family type) that handles the graphics or notes.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes
Message 3 of 10

Jeremy.Van.Ryswyk
Participant
Participant

Not sure this still gives me the result I want. I've nested the family which gives the instance control visibility. But the type visibility is still an issue. Going to see what we can do with listing to resolve that

0 Likes
Message 4 of 10

juliar123
Advocate
Advocate

I would try using an If formula. 

Reminder: For yes/no parameters :

Yes = True = 1>0
No = False = 0>0

 

The formula I used is below:

if(Show Text, (1 > 0), 0 > 0)

Because you have different types with only one thing checked on per type, Put this formula in for the one visible element in each Type, then if you check off Show Text, it will remove that text. 

 

This is a fast example of what I did below:

juliar123_0-1683115727162.png

 

0 Likes
Message 5 of 10

Alfredo_Medina
Mentor
Mentor

It is not necessary to use 1 > 0 nor 0 > 0 in formulas for yes/no parameters. 

All this:

if (Show Text, (1 < 0), 0 > 0)

can be replaced with:

Show Text

 

So, the value of Mechanical Text is always equal to Show Text. 


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes
Message 6 of 10

juliar123
Advocate
Advocate

You are correct! I'm getting too far down the rabbit hole Haha. 

Message 7 of 10

Jeremy.Van.Ryswyk
Participant
Participant

Smart guy at work worked it out. Nested each consultant mark up tag into the family. Then used them as a instance family list. Then had some intermidiate parameters to another formula to switch them off in the instance based resolved and switch the whole lot off globably as a type parameter

0 Likes
Message 8 of 10

Alfredo_Medina
Mentor
Mentor

@Jeremy.Van.Ryswyk wrote:

Smart guy at work worked it out. Nested each consultant mark up tag into the family. Then used them as a instance family list. Then had some intermidiate parameters to another formula to switch them off in the instance based resolved and switch the whole lot off globably as a type parameter


See message # 2 above.


Alfredo Medina _________________________________________________________________ ______
Licensed Architect (Florida) | Freelance Instructor | Profile on Linkedin
0 Likes
Message 9 of 10

Jeremy.Van.Ryswyk
Participant
Participant

What about it? I think what your saying wouldnt shedule right with the instance mark up comment

0 Likes
Message 10 of 10

mattVW6PK
Explorer
Explorer

You have to set up a second parameter for each instance. 

Example:

Mechanical (parameter under Visibility) with Formula = and(Show Text, Show Mechanical)

You will need to change any instance using the current Show Mechanical to the new Mechanical