666vito
Industrial
- Jul 23, 2007
- 21
Hi
I make a programm that get 2d geometry from a sketch in solid edge. With this code I get start end point of a line 2d: For Each objLine2d In objProf.Lines2d
Call objLine2d.GetEndPoint(dx, dy)
Call objLine2d.GetStartPoint(dx, dy)
Next objLine2d (by donyoung engtips)
Now I get information about circle ( center point and radius) and arsc2D in a solid edge help I found some information but some code don't work. I use
For Each objCircle2d In objprof.Circles2d
i = i + 1
Next objCircle2d
To count circles and to get center and radius
call objcircle2d.getcenterpoint( x,y)
call objcircle2d.getradius (g)
but it don't work. In teh same way I can count the arc2d but can't get center point ant the start end point.
Can you help me.
Thanks
I make a programm that get 2d geometry from a sketch in solid edge. With this code I get start end point of a line 2d: For Each objLine2d In objProf.Lines2d
Call objLine2d.GetEndPoint(dx, dy)
Call objLine2d.GetStartPoint(dx, dy)
Next objLine2d (by donyoung engtips)
Now I get information about circle ( center point and radius) and arsc2D in a solid edge help I found some information but some code don't work. I use
For Each objCircle2d In objprof.Circles2d
i = i + 1
Next objCircle2d
To count circles and to get center and radius
call objcircle2d.getcenterpoint( x,y)
call objcircle2d.getradius (g)
but it don't work. In teh same way I can count the arc2d but can't get center point ant the start end point.
Can you help me.
Thanks