EngProgrammer
Aerospace
I am using the subject createpoint class. However, the created point is not showing within the work part after runing my code. Here's the snippet of code:
Dim DownStreamArcEndPoint As New Point3d(DownStreamArc.Radius * Math.Cos(DownStreamArc.EndAngle), _
DownStreamArc.Radius * Math.Sin(DownStreamArc.EndAngle), _
0.0)
Dim pt As Point = workpart.Points.CreatePoint(DownStreamArcEndPoint)
pt.SetVisibility(SmartObject.VisibilityOption.Visible)
I am missing some kind of update??
Dim DownStreamArcEndPoint As New Point3d(DownStreamArc.Radius * Math.Cos(DownStreamArc.EndAngle), _
DownStreamArc.Radius * Math.Sin(DownStreamArc.EndAngle), _
0.0)
Dim pt As Point = workpart.Points.CreatePoint(DownStreamArcEndPoint)
pt.SetVisibility(SmartObject.VisibilityOption.Visible)
I am missing some kind of update??