Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Slow family with simple lines

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
bpostmaH3PQJ
948 Aufrufe, 3 Antworten

Slow family with simple lines

This is a relatively simple question. 

 

I want a generic series of parallel lines in my family that can be parametrically stretched. Perpendicular to these lines, the ends are locked on both sides to two reference planes. One of the reference planes will be locked in place, the second moving a distance set by a dimension parameter. When I change the parameter, the lines stretch. Easy right!

 

Of course this does work. The issue I am running into is the speed at which this task is performed. In an example I only have 3 lines attached to the same reference planes. When I change the parameter it takes Revit upwards of 10 seconds to run the task. If I have more lines, it takes longer. If I have multiple instances of these sets of lines, it takes even longer.

 

Normally, whatever - but this seems like strange behavior. This is a very simple computational task and Revit seems to struggle with it. I could have a nested family of these lines (I have not tried to see if it improves performance), but I would prefer to have this in the base family since the spacing and distance between the lines varies over the course of about 50 families I am working on. 

 

Help!

 

BTW - my computer is fast. i7 with plenty of RAM. 

 

 

Beschriftungen (5)
3 ANTWORTEN 3
Nachricht 2 von 4
emodderman
als Antwort auf: bpostmaH3PQJ

The image is... straightforward enough. is there something controlling the spacing between the parallel lines? like an array? Array's can really slow down a family.. 

What family template did you start with? I would suggest the Detail Item Line Based template. your length parameter is built in already and then you just have to add the parallel linework. 

 

otherwise, i might need to take a look at the family to test check the details. would you be able to post the family?

Nachricht 3 von 4
bpostmaH3PQJ
als Antwort auf: emodderman

Wow! Thank you for the quick reply and solution!

 

I agree - it is straightforward, which is why I was so stumped! There was nothing controlling the space between the lines - no array.

 

The issue seems to have been whatever the base family was - I didn't think that far back into the process. The family has been copied and pasted, but I didn't think it would make a difference for something this basic. 

 

The only information in the family category and parameters is that it is a Detail Item. I don't know if there is a way to look deeper into the type of family.

 

I wonder also if it has to do with just using a fresh template. The file I copied may very well be old and probably converted from Revit versions several times. I wonder if along the way something about it that I cannot see has become corrupted or introduced to some kind of circular logic.

 

Anyway, thanks!!!

 

 

Nachricht 4 von 4
emodderman
als Antwort auf: bpostmaH3PQJ

Glad it worked!

 

I'll admit, I was hoping for slightly more of a mystery! :grinsendes_Gesicht_mit_lächelnden_Augen: 
I always start a family fresh if I can. Sorta annoying, but often turns out better! AutoCAD files used to hoard crap in the background over time, so I guess Revit is turning out the same :Gesicht_mit_Zunge: 

 

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report