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: 

Line Category

6 ANTWORTEN 6
Antworten
Nachricht 1 von 7
hliS658H
778 Aufrufe, 6 Antworten

Line Category

When I create new line styles, I noticed I can not add "<>" into the new line style names like the ones built in the program.  I assume that is the reason that my newly added line styles are not included in the line category list in dynamo.  Is there a way to fix this? Thank you.

hliS658H_1-1676183297171.png

hliS658H_2-1676183561784.png

 

 

6 ANTWORTEN 6
Nachricht 2 von 7
barthbradley
als Antwort auf: hliS658H

I don't understand the question. Bracketed Line Styles just indicate the legacy/system line styles that cannot be removed.  They are hard-coded.  

Nachricht 3 von 7
ToanDN
als Antwort auf: hliS658H

<> are reserved for system line styles. You can certainly include any line styles in a dynamo script.  Which node are you using?

Nachricht 4 von 7
hliS658H
als Antwort auf: ToanDN

I am using Categories.

My intention is to calculate the length of the building perimeter, so I create a line style named as building perimeter. I was expecting this line style will show up in the pull down list as other line style but unfortunately, both line styles I created are not there.

 

hliS658H_0-1676237389415.png

 

Nachricht 5 von 7
ToanDN
als Antwort auf: hliS658H

The node you use is a preselected list and only shows OOTB styles.

 

Search for the node Select Model Lines by Style, then use a code block node to enter the name of the line style.

 

ToanDN_0-1676320656680.png

 

With that said, there is an OTTB dynamo script under Dynamo Player that calculate my multiple lines that you select.

 

 

Nachricht 6 von 7
hliS658H
als Antwort auf: ToanDN

hliS658H_1-1676262291650.png

 

I got error messages; I am new to Dynamo, know limited nodes, no idea how to fix it.

 

hliS658H_0-1676262245258.png

 

Nachricht 7 von 7
d.ahmed.LW
als Antwort auf: hliS658H

@hliS658H I think these 2 posts from Dynamo Forum could guide you in the right direction or atleast give you a starting point

 

Get line style by name - Archi-Lab - Packages - Dynamo (dynamobim.com)

 

Get all project Line Styles and attributes - Revit - Dynamo (dynamobim.com)

Do close the topic if this helps. 

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