wrong values using Layers.box

Discuss and ask questions about CADViewX (Lite and Pro versions).

Moderators: SDS, support, admin

Post Reply
alfons
Posts: 6
Joined: 19 Jun 2007, 22:22
Location: Germany

wrong values using Layers.box

Post by alfons » 19 Jul 2007, 14:00

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

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 19 Jul 2007, 15:50

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

Post Reply