Overrides the center of mass of the model currently being edited in this part or assembly document.
.NET Syntax
Visual Basic (Usage) | |
---|
Dim instance As IMassProperty
Dim Value As System.Object
Dim CoordinateSystemName As System.String
Dim Config_option As System.Integer
Dim Config_names As System.Object
Dim value As System.Boolean
value = instance.SetOverrideCenterOfMassValue(Value, CoordinateSystemName, Config_option, Config_names) |
Parameters
- Value
- Array of three doubles of the x, y, and z coordinates of the center of mass
- CoordinateSystemName
- Name of the coordinate system in which the center of mass is defined
- Config_option
- Configuration option as defined in swInConfigurationOpts_e
- Config_names
- Array of configuration names; valid only if Config_option = swInConfigurationOpts_e.swSpecifyConfiguration
Return Value
True if the center of mass is overridden, false if not
Example
See Also
Availability
SOLIDWORKS 2013 FCS, Revision Number 21.0