Maxscript select Hose binding Objects

Maxscript select Hose binding Objects

Anonymous
Not applicable
490 Views
1 Reply
Message 1 of 2

Maxscript select Hose binding Objects

Anonymous
Not applicable

Is there a way to specify the hose's binding objects in Maxscript? It seems that is thats the only variable not covered in the documentation, and it just happens to be the one I need…

 

I have create a dummy and a hose in MAX, and I want to set the top object of the hose as the dummy (“Bound to Object Pivots”). Here is my code:

CranePickBoomTipDummy = Dummy()

                                CranePickBoomTipDummy.boxsize = [10,10,10]

                                CranePickBoomTipDummy.pos = CranePickBoomTipPos

                                CranePickBoomTipDummy.name= "CranePickBoomTipDummy"

                               

                                SlingHose = hose ()

                                SlingHose.End_Placement_Method =2

                                SlingHose.Pick_Top_Object = $CranePickBoomTipDummy

However, the last line gives me an error (there is no property that I can use for picking the top object of the hose)

Any advice? And I also need the bottom object as well?

Thanks!

0 Likes
491 Views
1 Reply
Reply (1)
Message 2 of 2

ztravnicky
Enthusiast
Enthusiast

Seems not exposed to MaxScript. Use spline + splineIK or LinkedXform instead.

0 Likes