Compatible With ScriptsCompatible With ExpressionsCompatible With The Command Line

 

double ObjDim (object obj, channel chan )

 

Return Value: Object's dimension in the given channel

 

Arguments:

obj mesh object
chan local space axis to measure
 

This function determines the dimensions of a mesh item. To get the dimensions in world coordinates use wxpos, wypos and wzpos.

 

Example:

    BoundingBox_Width
    |_ ObjDim( Head, xpos )

 

    BoundingBox_Height
    |_ ObjDim( Head, ypos )

 

    BoundingBox_Depth
    |_ ObjDim( Head, zpos )

 

These three expressions get the bounding box of an object in local coordinates.

Converted from CHM to HTML with chm2web Pro 2.82 (unicode)