API 文档 > Solids and parts > Object ProSolid > Function ProSolidMassPropertyWrite
Function ProSolidMassPropertyWrite
Description
Writes the mass properties of solid/body referenced by the specified coordinate system selection.
Notes: Allocate the coordinate system selection using component path of component/sub-assembly whose mass properties are required.
Synopsis
#include <ProSolid.h>
ProSolidMassPropertyWrite
(
ProSelection solid_or_body
/* (In)
The handle to solid,body
*/
ProSelection csys_sel
/* (In)
The selection reference for the coordinate system. If this is NULL, the function uses the default coordinate system of the input solid.
*/
/* (In)
format
*/
wchar_t* file_path
/* (In)
file
*/
)
Returns
The function successfully retrieved the information.
The solid/body handle or csys selection is invalid.
The specified coordinate system was not found.
PRO_TK_GENREAL_ERROR
A general error occurred and the function failed.
User Guide References
这对您有帮助吗?