PDA

View Full Version : Extending the hose primitive


frogspasm
03-20-2005, 01:06 AM
I'm trying to extend the hose primitive, but it seems to be refusing.
I tested the same code to extend the Box primitive, and it seems to work just fine. Am I doing something wrong, or is this a bug?

Here's my code:

plugin geometry HoseExt
name:"HoseExt"
classID:#(0x319df322, 0x6ec04dc5)
category:"Scripted Primitives"
extends:Hose
replaceUI:true

(
parameters main rollout:params
(
)

rollout params "Muscle Parameters"
(
group "Bind Objects"
(
Checkbox bind "Smooth" checked:true
)
)

on create do
(
)

)
If I change "extends:Hose" to "extends:Box" it works just fine.

Also, is there anyway 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...


~Mike D.
Grrrr! Arghhhh!

CGTalk Moderation
03-20-2005, 01:06 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.