API 文件集 > Cabling > Object ProConnector > Function ProConnectorWithAllParamsDesignate
Function ProConnectorWithAllParamsDesignate
Description
Designate the specified component as an assembly connector with all the logical parameters.
Synopsis
#include <ProCabling.h>
ProConnectorWithAllParamsDesignate
(
ProAsmcomppath* p_connector
/* (In)
Handle of connector to designate
*/
ProName name
/* (In)
Name of the reference designator. It can be NULL when the designation is not from logical reference.
*/
ProBool from_logical
/* (In)
PRO_B_TRUE for designation from logical reference. PRO_B_FALSE for default designation.
*/
)
Returns
The function successfully designate.
Model is in read-only state.
One or more of the arguments was invalid.
The given name of the reference designator is already used by other connector
Other errors.
這是否有幫助?