API 文档 > Dimensions > Object ProDimension > Function ProDimensionDualOptionsSet
Function ProDimensionDualOptionsSet
Description
Sets the dual dimension display using specified options
Replacement in Object TOOLKIT:
Synopsis
#include <ProDimension.h>
ProDimensionDualOptionsSet
(
ProDimension* dimension
/* (In)
The dimension or reference dimension handle.
*/
ProDrawing drawing
/* (In)
The drawing handle. Pass NULL if not using a drawing.
*/
/* (In)
Specifies how to display primary and secondary dimension. This argument is reserved for future use.
*/
ProName secondary_unit
/* (In)
Specifies name of the secondary dimension unit. This argument is reserved for future use.
*/
int dim_decimals
/* (In)
Specifies number of significant digits for secondary dimension; has to be non-negative.
*/
int tol_decimals
/* (In)
Specifies number of significant digits for tolerance; has to be non-negative.
*/
)
Returns
The function succeeded.
Model is in read-only state.
One or more arguments is invalid.
Dimension not found.
这对您有帮助吗?