API 文件集 > Geometry items > Object ProGeomitem > Function ProGeomitemSetdatumSet
Function ProGeomitemSetdatumSet
Description
Sets a datum plane or axis to be a Set Datum. This function supersedes ProGeomitemGtolrefSet.
Synopsis
#include <ProGtol.h>
ProGeomitemSetdatumSet
(
ProGeomitem* geomitem
/* (In)
The datum plane or axis
*/
/* (In)
The type and reference object for the "Set Datum" to apply. Pass NULL to make it a "Free" Set Datum.
*/
)
Returns
The function completed successfully.
Model is in read-only state.
One or more of the input arguments are invalid.
Could not modify the given item because it has read-only access.
Sample Code References
這是否有幫助?