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.Double
Dim CoordinateSystemName As System.String
Dim Config_option As System.Integer
Dim Config_numbers As System.Integer
Dim Config_names As System.String
Dim value As System.Boolean
value = instance.ISetOverrideCenterOfMassValue(Value, CoordinateSystemName, Config_option, Config_numbers, Config_names) |
Parameters
- Value
- in-process, unmanaged C++: Pointer to an array of three doubles of the x, y, and z coordinates of the center of mass
- VBA, VB.NET, C#, and C++/CLI: Not supported
See In-process Methods for details about this type of method.
- CoordinateSystemName
- Name of the coordinate system in which the center of mass is defined
- Config_option
Configuration option as defined in swInConfigurationOpts_e
- Config_numbers
- Number of configurations
- Config_names
- in-process, unmanaged C++: Pointer to an array of configuration names of size Config_numbers; valid only if Config_option = swInConfigurationOpts_e.swSpecifyConfiguration
- VBA, VB.NET, C#, and C++/CLI: Not supported
See In-process Methods for details about this type of method.
Return Value
True if the center of mass is overridden, false if not
See Also
Availability
SolidWorks 2013 FCS, Revision Number 21.0