Get all BlockName of INSERT objects
Moderators: SDS, support, admin
Get all BlockName of INSERT objects
I’m use VB.net and I’m would like get all « BlockName » for « INSERT » objects.
In demo code, the treeNode was linked by the “Tag” properties but I’can find where this properties link.
Can you say where I found all properties of all INSERT objects?
Thk in advance,
JP
In demo code, the treeNode was linked by the “Tag” properties but I’can find where this properties link.
Can you say where I found all properties of all INSERT objects?
Thk in advance,
JP
Re: Get all BlockName of INSERT objects
Hello!
Please try the following code:
Sergey.
Please try the following code:
Code: Select all
Dim entInsert As CADInsert
Dim entCount As Integer = Me.cadImage.Converter.GetCounts(CADImport.FaceModule.ConvSection.Entities)
Dim I As Integer
For I = 0 To entCount - 1
If (Me.cadImage.Converter.GetSection(CADImport.FaceModule.ConvSection.Entities).Entities(I).EntType = EntityType.Insert) Then
entInsert = Me.cadImage.Converter.GetSection(CADImport.FaceModule.ConvSection.Entities).Entities(I)
MessageBox.Show("Block Insert Name " + entInsert.Block.EntName)
End If
Next I
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support