[Closed] Picking spline shapes during boolean operations?
why do you clone on Node level and attach after? you use API, so do cloning on BezierShape level.
BTW… I have a very … hmm… distinctive coding style In some companies, programmers are paid, including for the number of lines of code. So you will come off the loser.
I get this error
“– Unknown property: “Shape_” in dotNetObject:Autodesk.Max.Wrappers.ShapeObject”
3ds MAX 2020 here
first check if such property exists at all. AD loves to rename things for no reason
(
shp = circle()
convertToSplineshape shp
g = (dotNetClass "Autodesk.Max.GlobalInterface").Instance
inode = g.COREInterface.GetINodeByHandle shp.inode.handle asdotnetobject:true
iobj = (inode.EvalWorldState g.COREInterface.Time true asdotnetobject:true).Obj
show iobj
)
actually there was .Shape without underscore and it should be ok to use
property exist
.Shape : <Autodesk.Max.IBezierShape>
.Shape_ : <Autodesk.Max.IBezierShape>, read-only
Change to .Shape works , maybe was a corrupt MAX… before…
And now the the old code works too…
Thanks for the help