@Serejah,Thank you for your help,The imperfections under the underlying code of max have caused frustration among developers.I’m sure it’ll be good.
The Undo/Redo is not particularly urgent for me, The Line converted to Spline shape is special importance thing for me .If a line is with other Modifi…
I found a new way, but it’s not stable.Don’t know what went wrong.Whether a Notify Dependents is required //obj is Line int t = g.COREInterface.Time…
Let me try, thank you ,@Serejah
That’s exactly what you said, I add “with undo on” in mxs code.If I don’t have to undo the function, it’s not Complete function.Do you have any good s…
x.BeginOutlineMove currenttime.ticks; x.outlinemove currenttime.ticks 10.0 x.EndOutlineMove currenttime.ticks true These three lines run, and it goe…
using Autodesk.Max; namespace SRYShapeTools { public class SRYSplineShape { static public ISplineShape GetSplineShape(uint handle) …
When I used OutlineMove in ISplineShape state.It goes back to a line.Miracle!!Do I have to update it, or there is an important step missing ISpline…
Your code will work for any shape(Shape Object) but line.Like you said,Casting to some other type is a dead end. The only way to do that is to add the…
Autodesk Community – 7 Feb 17 Convert any shape to Editable Spline Hello, I’m trying to convert a Shape object (Line for example) to a…
These examples are a little esoteric for newcomers,Like how do you create a new managed instance. Can you tell me directly that How to convert a line …
ICustomMarshaler marshaler = Autodesk.Max.Wrappers.CustomMarshalerSplineShape.GetInstance(“what goes there?”); System.IntPtr ptr = marshaler.MarshalMa…
I’m a raw recruit . I try again.
@Serejah , Unfortunately I couldn’t find “autodesk.max.wrappers.dll” in the 3dsmax installation directory. So there is no way to use the method you pr…
Serejah, You are my savior, I have been suffering for a long time, OK, I will read it carefully, if there is anything I don’t understand, I will repor…