read value off entities
Posted: 25 Mar 2020, 21:11
Good morning
For our development we use vb.net to load and display a dxf file in a picture box.
We use the following command
Public vDrawing As CADImage
CADImage.CreateImageByExtension(OpenFileDialog1.FileName)
vDrawing.LoadFromFile(OpenFileDialog1.FileName)
Our question is with the vDrawing(CADimage) object we can read in a local variable the data refer to
Start point, end point,and polypoints data from each entities?
we can read some data value like this
value=vDrawing.CurrentLayout.Entities(0).EntName
value=vDrawing.CurrentLayout.Entities(0).EntType
we need use a diferent object instead of CADImage
thank you very much
For our development we use vb.net to load and display a dxf file in a picture box.
We use the following command
Public vDrawing As CADImage
CADImage.CreateImageByExtension(OpenFileDialog1.FileName)
vDrawing.LoadFromFile(OpenFileDialog1.FileName)
Our question is with the vDrawing(CADimage) object we can read in a local variable the data refer to
Start point, end point,and polypoints data from each entities?
we can read some data value like this
value=vDrawing.CurrentLayout.Entities(0).EntName
value=vDrawing.CurrentLayout.Entities(0).EntType
we need use a diferent object instead of CADImage
thank you very much