Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4157

Output of Fx not correct - Rhino bug or script bug?

$
0
0

One of the options in the attached Python script is to output a column showing ‘Other Attributes’, which my script gets from Attribute User Text. This works great, unless the Value is a function, in which case it doesn’t work at all.

Here are steps to repeat the issue:
Make an sphere.
Select sphere and go to the Attribute User Text panel.
Click on Fx.
Pick something, like ModelUnits.
Run my script.
From the command line, select Columns.
Change OtherAttributes to Yes.
Click enter, and finish the script.
The output should go to the history window, but the ModelUnits will be incorrect.

In contrast, if you manually enter a value in AttributeUserText, it will show up on the BOM correctly.

BOM.py (19.6 KB)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4157