lock a drawingsketch using centerMark

lock a drawingsketch using centerMark

^_^clovis^_^
Advocate Advocate
255 Views
0 Replies
Message 1 of 1

lock a drawingsketch using centerMark

^_^clovis^_^
Advocate
Advocate

Hello Guys,

 

I'm trying to lock a drawingsketch using the info/arc/circle from the centerMark and projecting it.

 

..

'oEnt = centerMark

Dim oEnt As Object
Set oEnt = oSel.Item(1)

..

If oEnt.Attached = True Then
            Dim oEdge As Edge
            Set oEdge = oEnt.AttachedEntity.Geometry.ModelGeometry.EdgeUses.Item(1).Edge
End If

...

oSketch.Edit
        oSketch.AddByProjectingEntity (oEdge)

...

 

but I get a mismatch error.

What do I must change?

Thanks for the support.

 

 

0 Likes
256 Views
0 Replies
Replies (0)