Returns random previous dim dimstyle if dimension properties were manually overridden.

  1. Make a dimension of Style A
  2. Make a dimension of Style B
  3. Make a dimension of Style C

Change Dimension text placement on each to something else, but default

Rhino.DimensionStyle(dimID) won’t return proper dimstyle on those 3 dimensions anymore.

Hello - so far I do not see this.
My test:

Call Main()
Sub Main()
	Dim id: id = rhino.GetObject()
       Rhino.Print Rhino.DimensionStyle(id)		
End Sub

I moved the dimension text on several dimensions and asked via this test - the answer was as expected each time - there must be more to it…


Dims.3dm (31.9 KB)

I think the problem is that Rhino.Dimensionstyle(obj) is returning an empty string…

the python version seems to work just fine.

HI @Asterisk, @Gijs:

I’ve logged a bug for this issue - https://mcneel.myjetbrains.com/youtrack/issue/RH-53739

– Dale