Does anybody know of a way to add a visibility parameter to a void extrusion, as I would like to combine a number of family types with different voids into 1 family file. The same way that parameters can be assigned to standard extrusions.
Solved! Go to Solution.
Does anybody know of a way to add a visibility parameter to a void extrusion, as I would like to combine a number of family types with different voids into 1 family file. The same way that parameters can be assigned to standard extrusions.
Solved! Go to Solution.
Solved by CoreyDaun. Go to Solution.
There is no way to control the Visibility of a Void. The best you can do is to add parametric constraints to the Void Extrusion so that it does not penetrate the target Solid Extrusion under the conditions specified by the formula.
On a side note, having multiple Void Extrusions will likely bloat the file's size quite a bit. If you could shared the details about what you are doing here, perhaps we can find a better means of accomplishing this.
There is no way to control the Visibility of a Void. The best you can do is to add parametric constraints to the Void Extrusion so that it does not penetrate the target Solid Extrusion under the conditions specified by the formula.
On a side note, having multiple Void Extrusions will likely bloat the file's size quite a bit. If you could shared the details about what you are doing here, perhaps we can find a better means of accomplishing this.
Corey, thanks for the advice on void extrusions affecting the files size as this is very relevant in my situation.
I am creating electrical socket families so there will be a large number of instances in every project. I was going to use voids for the actual sockets as attached on a double outlet. Would I be better using standard extrusions to represent a 'hole' (the extrusion sticking out, say, 1mm? to represent this or use lines to represent the details.
Is there a major difference in the memory used for standard extrusions as opposed to void extrusions.
Thanks.
Corey, thanks for the advice on void extrusions affecting the files size as this is very relevant in my situation.
I am creating electrical socket families so there will be a large number of instances in every project. I was going to use voids for the actual sockets as attached on a double outlet. Would I be better using standard extrusions to represent a 'hole' (the extrusion sticking out, say, 1mm? to represent this or use lines to represent the details.
Is there a major difference in the memory used for standard extrusions as opposed to void extrusions.
Thanks.
There are a could of strategies one can possible apply here:
a.) Create each hole as a Split Face and then Paint a dedicated pitch-black Material to it.¹
b.) Include the holes in the Extrusion Profile of the faceplate.¹
c.) Use Model Lines OR Detail Lines to represent the holes.
d.) Use Void Extrusions to create the holes.
e.) As you said, create an thin Extrusion to represent the holes, instead of a Void.²
f.) Decide that modeling the holes would be "over-detailing" and omit them from the Family.
¹ If you wish to parametrically control the amount of holes in the Family, options a and b will NOT allow you to remove or hide any of the holes.
² If you employ option e, then set the Left/Right & Front/Back visibility settings under V/G Overrides for those Extrusions to NOT visible so you do not see the tiny protrusion when viewing the Family from the side or top.
lsop1409 wrote:
"...Is there a major difference in the memory used for standard extrusions as opposed to void extrusions.
Thanks."
You can test this by simply creating the Void Extrusions in the Family as planned, and then performing a Save As so you can compare the file sizes.
There are a could of strategies one can possible apply here:
a.) Create each hole as a Split Face and then Paint a dedicated pitch-black Material to it.¹
b.) Include the holes in the Extrusion Profile of the faceplate.¹
c.) Use Model Lines OR Detail Lines to represent the holes.
d.) Use Void Extrusions to create the holes.
e.) As you said, create an thin Extrusion to represent the holes, instead of a Void.²
f.) Decide that modeling the holes would be "over-detailing" and omit them from the Family.
¹ If you wish to parametrically control the amount of holes in the Family, options a and b will NOT allow you to remove or hide any of the holes.
² If you employ option e, then set the Left/Right & Front/Back visibility settings under V/G Overrides for those Extrusions to NOT visible so you do not see the tiny protrusion when viewing the Family from the side or top.
lsop1409 wrote:
"...Is there a major difference in the memory used for standard extrusions as opposed to void extrusions.
Thanks."
You can test this by simply creating the Void Extrusions in the Family as planned, and then performing a Save As so you can compare the file sizes.
The differences in file sizes were only 12kb for a single socket and 16kb for a double socket, with voids added or removed, so I will leave them in for now.
Maybe on a very large project this will make a major difference in performance. If this is the case in the future I will omit the details as you suggested as they have a symbol representation to determine the type etc.
Thanks for the advice.
The differences in file sizes were only 12kb for a single socket and 16kb for a double socket, with voids added or removed, so I will leave them in for now.
Maybe on a very large project this will make a major difference in performance. If this is the case in the future I will omit the details as you suggested as they have a symbol representation to determine the type etc.
Thanks for the advice.
Or, simply use the solution by @CoreyDaun, and add a Visibility parameter with a formula link the dimension of the void, such as if box is ticked then the void dim = X (cut the geometry), if box is clear then void dim = Y (not touching geometry).
Using a face based void works out of the box, but it is limited to cutting one host, and you can't quite rotate it quite easily except on the host plane.
Or, simply use the solution by @CoreyDaun, and add a Visibility parameter with a formula link the dimension of the void, such as if box is ticked then the void dim = X (cut the geometry), if box is clear then void dim = Y (not touching geometry).
Using a face based void works out of the box, but it is limited to cutting one host, and you can't quite rotate it quite easily except on the host plane.
a simple formula like this would be sufficient:
if("Void", reference dim = x, reference dim = y)
a simple formula like this would be sufficient:
if("Void", reference dim = x, reference dim = y)
tried this. because the void is no longer cutting anything I get an error message thrown back along the lines of "void no longer cutting anything, void will be deleted. Thing is I don't want it deleted in all instances. one way around it would be to do 2 families, one with the void, one without but I'm trying to do one family and its types can cover all situations.
My case is a door with a vision panel. I want the vision panel to be an instance parameter so I can turn it off and on and schedule it up in my door schedules.
tried this. because the void is no longer cutting anything I get an error message thrown back along the lines of "void no longer cutting anything, void will be deleted. Thing is I don't want it deleted in all instances. one way around it would be to do 2 families, one with the void, one without but I'm trying to do one family and its types can cover all situations.
My case is a door with a vision panel. I want the vision panel to be an instance parameter so I can turn it off and on and schedule it up in my door schedules.
@Anonymous wrote:
tried this. because the void is no longer cutting anything I get an error message thrown back along the lines of "void no longer cutting anything, void will be deleted. Thing is I don't want it deleted in all instances. one way around it would be to do 2 families, one with the void, one without but I'm trying to do one family and its types can cover all situations.
My case is a door with a vision panel. I want the vision panel to be an instance parameter so I can turn it off and on and schedule it up in my door schedules.
If the void is create in the same family the door panel is created then it won't get deleted even when it does not cut anything. It only happens when they are nested families.
@Anonymous wrote:
tried this. because the void is no longer cutting anything I get an error message thrown back along the lines of "void no longer cutting anything, void will be deleted. Thing is I don't want it deleted in all instances. one way around it would be to do 2 families, one with the void, one without but I'm trying to do one family and its types can cover all situations.
My case is a door with a vision panel. I want the vision panel to be an instance parameter so I can turn it off and on and schedule it up in my door schedules.
If the void is create in the same family the door panel is created then it won't get deleted even when it does not cut anything. It only happens when they are nested families.
Yeah the void is in the same family as the door panel. Then that's in the door family with parameters controlling the void position. Still don't feel like it's the best way though. Seen other forums where the void can have unexpected effects on other nearby items when moved out of the panel.
Yeah the void is in the same family as the door panel. Then that's in the door family with parameters controlling the void position. Still don't feel like it's the best way though. Seen other forums where the void can have unexpected effects on other nearby items when moved out of the panel.
This answer sounds like a solution to a family I'm trying to create. I've created the Void family and inserted it into my main Family however its not cutting the main family. I made sure when creating the Void to cut the face and when I inserted its exactly what I need if I could get it to cut the main Family
This answer sounds like a solution to a family I'm trying to create. I've created the Void family and inserted it into my main Family however its not cutting the main family. I made sure when creating the Void to cut the face and when I inserted its exactly what I need if I could get it to cut the main Family
Easy fix: I wanted to have a yes/no parameter control the visibility of the void extrusion. Even though you cant control the visibility of the void, you CAN assign the same yes/no parameter to the "Cuts Geometry" parameter of the void. So when it is on, it will cut, and if it is off, it will not, thus giving you the same effect of turning the visibility on or off. I am using Revit 2022.
Easy fix: I wanted to have a yes/no parameter control the visibility of the void extrusion. Even though you cant control the visibility of the void, you CAN assign the same yes/no parameter to the "Cuts Geometry" parameter of the void. So when it is on, it will cut, and if it is off, it will not, thus giving you the same effect of turning the visibility on or off. I am using Revit 2022.
You are a genius thanks!!...I never realised you could link the "Cuts Geometry" to a yes/no parameter...this saves so many formulas controlling the position and will save so much time and effort as it's simple thanks!
You are a genius thanks!!...I never realised you could link the "Cuts Geometry" to a yes/no parameter...this saves so many formulas controlling the position and will save so much time and effort as it's simple thanks!
Glad you were able to find it so far down the list... the solutions above are far from "simple"
Glad you were able to find it so far down the list... the solutions above are far from "simple"
@skJMGQP wrote:
Glad you were able to find it so far down the list... the solutions above are far from "simple"
It is because the Cuts Geometry option for Voids wasn't available when the topic initiated.
@skJMGQP wrote:
Glad you were able to find it so far down the list... the solutions above are far from "simple"
It is because the Cuts Geometry option for Voids wasn't available when the topic initiated.
Can't find what you're looking for? Ask the community or share your knowledge.