Hi,
without knowing about this tread, I created a family that works exactly in this way 😁.
The family works great with out any problems.
But I have a problem of volume calculation, I try to explain better.
my family has 2 fix parts and one array part.
the fix parts are always visible, so there is no problem about this.
the problem come with the array:
cause I need that the array can count 0, 1, 2, n... elements. I create a conditional visibility for the parts.
There are an array for minimal counting of 2, when counting is less of 2 this array is not visible
when the counting for array is equal to 1 there is a single instance visible.
when the counting is 0 both the array and the single instance are not visible.
the problem in volume calculation come in the schedule when I load the family in a project, The volume cont the anyway the parts that are not visible. refer to the image
any Idea to solve this problem.
thanks in advance
Ciao

@sksaifali99 wrote:

YOU MAY USE THE SAME FORMULA. PUT ANY NUMBER IN A_I STARTING FROM 0.
1.USE THE NESTED FAMILY FOR THE ITEM YOU WANT TO MAKE AN ARRAY.
2.PLACE THE SAME ITEM TWICE IN THE SAME PLACE.
3.CHANGE THE VISIBILITY OF THAT TWO NESTED FAMILIES. VISIBILITY OF TWO PARAMETERS WILL BE Array1 & Array2.
4.CREATE ARRAY PARAMETER(Array) OF THE ITEM WITH Array2 VISIBILITY.
5.CREATE A PARAMETER WHICH HOLD INTEGER VALUES ONLY. i.e. A_I.
5.USE THE SAME FORMULA GIVEN IN THE SNAP.
6.LOAD THE FAMILY INTO THE PROJECT AND PUT VALUES TO A_I.
ACP Revit Architecture - CAD/BIM Coordinator