Arkamis
Mechanical
- Sep 14, 2010
- 1
Hi there,
i'm trying to bring a dimension to his far end point (edge).
There is my code :
boolstatus = Model.Extension.SelectByID2("Line1", "SKETCHSEGMENT", 0, 0, 0, False, 0, Nothing, 0)
boolstatus = RefEdge.Select4(True, SelData)
Set Annotation = Model.AddDimension2(0, 0, 0)
Set Dimension = Model.Parameter("D1@" & Feature.Name)
retval = Dimension.SetArcEndCondition(2, 3)
Model.GraphicsRedraw2
So, it seems that the Arc Condition is changed at this state, but i dont see that in graphic view and when i rebuild the model, my sketch become red.
Someone have a tip for me ?
Thanks!
J-S
P.S.: Forgive me for my bad english speaking.
i'm trying to bring a dimension to his far end point (edge).
There is my code :
boolstatus = Model.Extension.SelectByID2("Line1", "SKETCHSEGMENT", 0, 0, 0, False, 0, Nothing, 0)
boolstatus = RefEdge.Select4(True, SelData)
Set Annotation = Model.AddDimension2(0, 0, 0)
Set Dimension = Model.Parameter("D1@" & Feature.Name)
retval = Dimension.SetArcEndCondition(2, 3)
Model.GraphicsRedraw2
So, it seems that the Arc Condition is changed at this state, but i dont see that in graphic view and when i rebuild the model, my sketch become red.
Someone have a tip for me ?
Thanks!
J-S
P.S.: Forgive me for my bad english speaking.