Yes, I also see these explanations, but I get an error when I try to cast it to convert . ISimpleSpline spl = (ISimpleSpline)obj ;
if((nod.ObjectRef as ISplineShape) == null) { IModifier edspl_mod = (IModifier)g.COREInterface.CreateInstance(SClass_ID.Osm, g.Class_ID.Create(96, 0))…
Is it useful for any Shape?
@Serejah , I haven’t succeeded yet, but thank you! I’ll keep trying. Another problem is that I can’t refresh the line, In the Max script, I can use up…
Yes, I just wanted the node to return to its original state, but I failed. The example you gave is about Bezier Shape . Actually, I was wondering if …
public class SRYRest : RestoreObj { uint nHandle; IINode oldNode; IGlobal g; public SRYRest(uint hnd, IINode node,IGlobal gl) { nHandle = hnd; oldNode…
I seriously doubt that this is correct: &olShape
add updateShape $ Splineshap remains unchanged.
There’s still no error. The Splineshap hasn’t changed. I don’t know what functions are missing
The “outlinespline” code is too long,so I’m going to test it with a different function: static int DeleteSelSegs(BezierShape *shape, int poly) { Spl…
I didn’t get any errors, but spline didn’t seem to change.Do i need to upate the Splineshape? but there is the following in my codes: spline->Com…
Here’s my simple test,but it doesn’t work: Object* obj = node->GetObjectRef(); SplineShape* s = (SplineShape*)obj; BezierShape bs = s->shape; …
Actually, I want to rewrite ‘OutlineSpline’ ,Because you can’t use it directly, you have to write a function with nodes as arguments.