Maxscript select Hose binding Objects

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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!