Function ProSectionEntityAdd
Description
Adds an entity to the specified section.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSection.h>
ProSectionEntityAdd
(
ProSection section
/* (In)
The section
*/
Pro2dEntdef* entity2d
/* (In)
The entity to add to the section
*/
int* r_ent_id
/* (Out)
The assigned identifier of the entity
*/
)
Returns
The function successfully added the entity.
Model is in read-only state.
One or more of the input arguments are invalid.
There was a memory error.
In the case of a Pro2dTextdef being added, the text string exceeded the internal limitation of Creo Parametric.
In the case of a Pro2dTextdef being added, the text font is not supported by Creo Parametric.
The function does not support entity type PRO_2D_COMPOSITE_CURVE.
Sample Code References
User Guide References
これは役に立ちましたか?