Change FamilyInstance to different size directly

Change FamilyInstance to different size directly

Anonymous
Not applicable
1,159 Views
3 Replies
Message 1 of 4

Change FamilyInstance to different size directly

Anonymous
Not applicable

I created a cube Family and bind some parameters to the width/length/height.
Then created some FamilyInstances using the cube Family.
Can I set each FamilyInstance to different size directly?
Because if I set the parameters of the cube Family to change the size,
all the FamilyInstances will changed to the same size at the same time.

0 Likes
1,160 Views
3 Replies
Replies (3)
Message 2 of 4

jeremytammik
Autodesk
Autodesk

Dear Gb1982,

 

You should probably play around a bit with family definitions, type and instances in the user interface first to get a hang of things.

 

Then the programmatic side of things will become much clearer.

 

Once you are ready for that, here are some entry points for learning much more:

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#5.25

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 4

Anonymous
Not applicable

Hi Jeremy,

 

Thanks for your quick response!

 

 

As a programmer I barely knew about Revit even structure. According to the needs of our new project I only studied Revit for a while.

 

AS you mentioned I did hands on it on the UI side, I just descried the question like a programmer.

 

As I understand it so far, users could only change the “Location-related properties show the physical and geometric characteristics of FamilyInstance objects, such as orientation, rotation and location.” .Am I right?

 

So if I changed my question, is there a cube object in the Revit which I can unconstrained changed its width, length and height?

0 Likes
Message 4 of 4

Anonymous
Not applicable
I think I should talk about a little bit of my work to explain my issue clearly. I intend to develop a functionality of creating wood framing wall. The wall is comprised of horizontal keel and vertical keel.
I used column family to create VKeel, then set TopOffset and BottomOffset to adjust the height of each VKeel (FamilyInstance).And I used “normal model” (I don’t know how to call it in English) family template to create a cube family and bind parameters of the width/length/height, and use it to create HKeel. For the HKeel, the width and height are always a specific set such as 38x140.So I only need to set the length of each HKeel.I set the length parameter’ value of the FamilySymbol, but then all the HKeels was reset to the same length. So how could I set different length of different HKeel?Or is there any walk around solutions? Should I change the family for HKeel? Which should I use? Any suggestion will be highly appreciated!
0 Likes