Page 1 of 1

wrong values using Layers.box

Posted: 19 Jul 2007, 14:00
by alfons
Hello,
why i get wrong values (all are 0) if i use

rec:=conv.Layers.Box; //->rec:tagFRectLong;

but i get the correct name of the Layer when i use
Conv.Layers.Name

Posted: 19 Jul 2007, 15:50
by support
Hello!

Accordingly to AutoCAD documentation, layer defines some common properties which allow to group entities by any sign. Thus layer mustn't define any box parameter.
Existans of the box within layer's properties is a peculiarity of our libraries.

<b>BTW</b>:
The following line:

rec:=conv.Layers.Box; //->rec:tagFRectLong;

must ever return - (1E20, -1E20, 1E20, -1E20, 1E20, -1E20);

Sergey.

Please post questions to the forum or write to support@cadsofttools.com