Setting Dimensions on a Space Warp FFD via Maxscript

Setting Dimensions on a Space Warp FFD via Maxscript

Anonymous
Not applicable
603 Views
1 Reply
Message 1 of 2

Setting Dimensions on a Space Warp FFD via Maxscript

Anonymous
Not applicable

Hi everyone,

 

I'm using Max 2016 (18.0) with SP2.

 

I'm trying to use MaxScript to set the dimensions on an FFD (Space Warp).

 

Normally, when the FFD is a modifier, the function to do this is:

 

setDimensions <FFDmodifier> <point 3>

 

What's strange is, if I select the base object of the FFD space warp and manually set the dimensions using the UI, the echoed command in the listener is exactly this format:

 

setDimensions <FFDmodifier> <point 3>

 

 

But if I try to re-execute that command as it has been echoed, it fails with the following error:

-- Unable to convert: FFD(box) 4x4x4 to type: Modifier <<

 

I'm not understanding why it echoes this command if entering this command does not work.

 

 

This needs to be a SpaceWarp version and NOT the modifier version as the SpaceWarp version is:

1) Not dependent on object bounds

2) Can be skinned

 

I'd appreciate any help on thisissue. Thanks!

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

Swordslayer
Advisor
Advisor

Seems to be fixed in max 2017, quote from maxscrip


The following FFD functions now support FFD Spacewarp objects:

 

  • conformToShape()
  • getDimensions()
  • setDimensions()
  • animateAll()
  • resetLattice()

 

0 Likes