Generating Mark Numbers for Framing and Columns via Dynamo Python: Issues with Cut Length

Generating Mark Numbers for Framing and Columns via Dynamo Python: Issues with Cut Length

betulmelikoglu3
Community Visitor Community Visitor
65 Views
1 Reply
Message 1 of 2

Generating Mark Numbers for Framing and Columns via Dynamo Python: Issues with Cut Length

betulmelikoglu3
Community Visitor
Community Visitor

Hello everyone,

I am working on a Dynamo Python script to automatically generate mark numbers for Structural Framing and Structural Column elements. However, I am facing two major issues that are throwing off my results:

  1. Script reads Length instead of Cut Length: Even when trying to target fabrication lengths, the script ends up reading or falling back to the standard nominal Length instead of the actual Cut Length.

  2. Cut Length missing on Columns: The Cut Length parameter does not seem to be available or accessible for Structural Columns by default in Revit.

Accurate cut lengths are essential for proper mark numbering and scheduling. How can I reliably retrieve or calculate the true cut length for both framing and columns via Python/Dynamo to resolve this?

Any guidance, workflow suggestions, or script examples would be greatly appreciated. Thanks in advance!

0 Likes
66 Views
1 Reply
Reply (1)
Message 2 of 2

RLY_15
Advisor
Advisor

It would help to post the script and/or the python component.

 

RLY_15_1-1788456407815.png

Cut Length is generally available for Structural Framing.

Cut Length for Structural Columns is exposed by making the element a Steel Fabrication element first via connectors/modifiers.

 

(1) I'm assuming is a syntax issue. Posting the script will reveal if it is or not.

0 Likes