API 文件集 > 3D drawings and annotations > Object ProAnnotationelem > Function ProAnnotationelemDependencySet
Function ProAnnotationelemDependencySet
Description
Sets the dependency flag of the specified annotation element. Applicable only for annotation elements owned by data sharing features.
Replacement in Object TOOLKIT:
Licensing Requirement
Synopsis
ProAnnotationelemDependencySet
(
ProSelection element
/* (In)
The annotation element. If the annotation element belongs to an assembly, component path must be specified.
*/
ProBoolean allow_fix_ui
/* (In)
PRO_B_TRUE to bring up the Fix Model UI in the event of regeneration failure; PRO_B_FALSE to abort the reference's attribute changing.
*/
ProBoolean dependent
/* (In)
PRO_B_TRUE if the annotation element is dependent on its parent, PRO_B_FALSE if not.
*/
)
Returns
The function succeeded.
One or more inputs was invalid.
The input flag is the same as the current value.
The element is not owned by a data sharing feature.
The data sharing feature's parent model is not in memory.
The element is owned by an independent feature.
User Guide References
這是否有幫助?