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

Problem to Remove Dim Styles with Python

$
0
0

Hello Guys i hope you can Help me,
i Import Templates with my script and my problem is that i use the Default Dim Style for that.

Here is my Test Code to Remove the Default Dim Style and Import that from my Files.

import rhinoscriptsyntax as rs
rs.AddDimStyle("Dummy")
rs.CurrentDimStyle("Dummy")
rs.DeleteDimStyle("Standard")

And here ist the Error i get from the Debug Console:

Message: 'DimStyleTable' object has no attribute 'DeleteDimensionStyle'

Traceback:
  line 219, in DeleteDimStyle, "C:\Users\PidollA\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\IronPython (814d908a-e25c-493d-97e9-ee3861957f49)\settings\lib\rhinoscript\dimension.py"
  line 4, in <module>, "C:\Users\PidollA\AppData\Local\Temp\TempScript.py"

I Hope someone can Help me with this Issue.
Thanks

5 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles