cannot find correct Family template for sweep and rotations

cannot find correct Family template for sweep and rotations

dirk.neethling
Advocate Advocate
575 Views
4 Replies
Message 1 of 5

cannot find correct Family template for sweep and rotations

dirk.neethling
Advocate
Advocate

I create a Family via a Routine. It's meant to be a System of gaskets in a segmental tunnel lining system.

This Family is instantiated for every segmental lining ring which is instantiated and both translated and rotated into place. The gasket familyinstance needs to undergo the same transformations. Depending on which templates (which actually work)  I use, several things happen:

 

1. The FamilyInstances cannot be rotated, only translated

2. famDoc.FamilyCreate.NewSweep does not work, even though it works in some templates, which however are useless for Placement.

 

Templates which worked partially are:

1. Metric Generic Model Adaptive

2. Metric Generic Model

3. M_Allgemeines Modell

 

However none of these templates solve the 2 requiremenets:

1. Create a sweep of the gasket/seal

2. translate AND rotate a familyInstance

 

Does someone have an idea how this can be solved?

 

adaptive_el.png

 

0 Likes
576 Views
4 Replies
Replies (4)
Message 2 of 5

Alfredo_Medina
Mentor
Mentor

@dirk.neethling If you want to continue with the idea of making this object by programming code, maybe this question should be better placed in the API forum, not this one. If you want to make this family using the family editor, then this is a very simple family to do. Then, what is the benefit of doing it by code?


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

dirk.neethling
Advocate
Advocate

I was under the Impression that I was in the Revit API Forum.

It's complexity is irrelevant; the reason I post in the Forum is to get it to work.

The benefit of doing it by code is that you can select tunnel lining Parameters in an Excel list, and based on that automatically generate the model. Wasn't that what BIM was supposed to be about?

0 Likes
Message 4 of 5

Alfredo_Medina
Mentor
Mentor
  • No, this is one is the Revit Architecture forum. There's another one called Revit API forum : https://forums.autodesk.com/t5/revit-api-forum/bd-p/160
  • About reading information from spreadsheets, that has been extremely simplified by Dynamo; by simply connecting nodes, you can send information from Excel to Revit elements.
  • About BIM being this, well, this is more about programming. BIM is more about collaboration, coordination, sharing information, virtual construction.

 


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

dirk.neethling
Advocate
Advocate

I've worked extensively with Dynamo. It clutters fast, and anytime I want to do something serious, I end up programming so-called ZeroTouch modules, aka dll's. So I might as well get back into the API.

0 Likes