• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

revit 2018 - syntax formula for visibility compared to product code (or type name)

  • Thread starter Thread starter vale79
  • Start date Start date

vale79

Guest
Hello! !

I have 4 similar tipping bars:
- 600n-i: 600 mm long, without roll holder
- 640n-i: 600 mm long, with roll holder
- 830n-i: 830 mm long, without roll door
- 840n-i: 830 mm long, with roll holder

I would like to give or remove visibility to the roll port based on the code, which I entered as a "code" parameter in the identity data, and which has the same value as the name of the type.
I put the visibility parameter in the constraints but I don't know how to write the condition to make it visible or invisible. I think it doesn't like the "-i" in the final part of the code (besides the non-existent syntax of my formula).

You know how to do that?

Thank you very much
That's right.
 

Attachments

  • B.webp
    B.webp
    86.7 KB · Views: 21
done, I associated the parameter to the family and do not need to insert a formula. :-)
 
Hello! !

I have 4 similar tipping bars:
- 600n-i: 600 mm long, without roll holder
- 640n-i: 600 mm long, with roll holder
- 830n-i: 830 mm long, without roll door
- 840n-i: 830 mm long, with roll holder

I would like to give or remove visibility to the roll port based on the code, which I entered as a "code" parameter in the identity data, and which has the same value as the name of the type.
I put the visibility parameter in the constraints but I don't know how to write the condition to make it visible or invisible. I think it doesn't like the "-i" in the final part of the code (besides the non-existent syntax of my formula).

You know how to do that?

Thank you very much
That's right.

ciao @vale79You have to handle it backwards. the code changes if the roll port is there or if there is no.

then: define visibility property for the portal.
in the field “code” type the formula:
if[visibilitá],code1,code2

Try.
Bye.


sent by my iPhone using tapatalk
 
ciao @ mario.biasi !
Thank you so much!
In fact I have not tried so yet, for now I have put it as a visible or not visible bond.

I have done 140 articles, in almost everyone lacks to enter data, because we do not have them or because we have not yet decided where to put them.

I have several files that don't give me mistakes but then when I load them in the project you don't see, or some see themselves strange, as if they lack constraints and drawings had changed at their liking. What can that be?

for the material and finishes they told me to make a text box with material writings and finishes, and to apply to the piece only the finish (as long as they are not objects made of more materials and finishes)... I don't know why; It seems strange to me, but above all I wonder what they'll see about those objects when they're going to make renderings? If I put two rows for example with "plate material" and "seat material" in the design, and I define the materials, how do you know what the plate is and which seat if I don't write it anywhere?

Thank you so much!
soon
That's right.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top