'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
(OP)
Within NXOpen I am trying to blank and/or more a line created with
Dim line1 As NXOpen.UF.UFCurve.Line = New NXOpen.UF.UFCurve.Line
Dim line1 As NXOpen.UF.UFCurve.Line = New NXOpen.UF.UFCurve.Line





RE: 'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
I am using
workPart.Layers.MoveDisplayableObjects(257, {line1})
But, NX is saying to a displayable object. What is the work around for this? Rather than instancing an NX line instead of a UFUNC line.
thanks
RE: 'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
www.nxjournaling.com
RE: 'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
www.nxjournaling.com
RE: 'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
RE: 'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
If you want a "regular" NX line (an object in an NX part file), you should be using an NXOpen.Line object or a Snap.NX.Line object. With these, you can display them, change layer, change color, and so on.
RE: 'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
RE: 'NXOpen.UF.UFCurve.Line' cannot be converted to 'NXOpen.DisplayableObject'. D:
www.nxjournaling.com