Documentación de la API > Sketches and sections > Object ProSection > Function ProSectionEntityFromProjection
Function ProSectionEntityFromProjection
Description
Creates a known entity in the section by projecting the reference geometry (a surface or an edge) onto the sketching plane.
If the function is successful, it returns the identifier of the known entity.
Synopsis
#include <ProSection.h>
ProSectionEntityFromProjection
(
ProSection section
/* (In)
The section
*/
ProSelection ref_geometry
/* (In)
The selected geometry
*/
int* r_ent_id
/* (Out)
The identifier of the known entity
*/
)
Returns
The function successfully created the known entity.
Model is in read-only state.
A general error occurred and the function failed.
One or more of the input arguments are invalid.
Sample Code References
User Guide References
¿Fue esto útil?