RoundPointsAbstract: Round selected objects' points' positions.Description: This tool rounds all position components values for either the tagged points of the object or the entire selected object. Working Scenarios: This tool can be helpful when drafting or modeling architectural/engineering details where you can complete your creation/editing roughly and then run the script to fix the points positions. User Usage: Select either points or an object then run the script. Developer Usage: You can call this tool from any other script using the following function call: RoundPoints( InObj,iRound ) Where InObj can be an XSI X3DObject or a collection of subcomponents. iRound is an integer that specifies the rounding precision. This tool returns true if it succeeds and false if it failed for any reason. Known bugs and limitations: - This tool requires the object to be freezed in order to work probably. - The effect of this tool cannot be undone. Nature: Script Applies To: XSI 4.0 on NT,Win2K,XP Languages: VBScript |