Converter.Iterate and parents

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
merco
Posts: 28
Joined: 25 May 2010, 10:03

Converter.Iterate and parents

Post by merco » 25 Jun 2010, 14:20

CadIterate is very powerful but i have another question.
Using something like this

Code: Select all

_cadParams = New CADIterate
        _cadParams.matrix = New CADMatrix
        _cadParams.matrix.data(0, 0) = 1
        _cadParams.matrix.data(1, 1) = 1
        _cadParams.matrix.data(2, 2) = 1
        _cadImage.Converter.AutoInsert = True
        _cadImage.Converter.Iterate(New CADEntityProc(AddressOf Me.ReadCADEntitiesParamsToPDF), Nothing, _cadParams)
in ReadCADEntitiesParamsToPDF i can check _cadParams.insert to get some information about the parent of the current entity... but if i want to know the parent of the parent of the parent ....?

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

Re: Converter.Iterate and parents

Post by support » 28 Jun 2010, 13:38

Hello.
CADIterate.insert field doesn't give information about parent of an entity. It indicates if entity belongs to CADInsert object. The instance if entity is CADInsert object doesn't make a difference, CADIterare.insert will indicate CADInsert object that contain current insert.

Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply