|
Note:
|
When using this function in a UI command, make sure that the command priority for the UI command is appropriate for using ProSelect(). Improper priority settings can cause unpredictable results. See also Normal priority actions in the User Interface: Menu section.
|
|
Database Item
|
ProSelect() Option
|
ProType
|
|---|---|---|
|
Geometry Items
|
||
|
Datum point
|
point
|
PRO_POINT
|
|
Datum axis
|
axis
|
PRO_AXIS
|
|
Datum plane
|
datum
|
PRO_SURFACE
|
|
Coordinate system datum
|
csys
|
PRO_CSYS
|
|
Coordinate System Axis
|
csys_axis
|
PRO_CSYS_AXIS_X PRO_CSYS_AXIS_Y PRO_CSYS_AXIS_Z
|
|
Edge (solid or datum surface)
|
edge
|
PRO_EDGE
|
|
Vertex
|
edge_end
|
PRO_EDGE_START, or PRO_EDGE_END
|
|
Datum curve
|
curve
|
PRO_CURVE
|
|
Datum curve end
|
curve_end
|
PRO_CRV_START, or PRO_CRV_END
|
|
Composite Curve
|
comp_crv
|
PRO_CURVE
|
|
Edge (solid only)
|
sldedge
|
PRO_EDGE
|
|
Edge (datum surface only)
|
qltedge
|
PRO_EDGE
|
|
Pipe segment end
|
pipeseg_end
|
PRO_PSEG_START or PRO_PSEG_END
|
|
Surface (solid or quilt)
|
surface
|
PRO_SURFACE
|
|
Surface (solid)
|
sldface
|
PRO_SURFACE
|
|
Surface (datum surface)
|
qltface
|
PRO_SURFACE
|
|
Surface (point)
|
pntsrf
|
PRO_SURFACE_PNT
|
|
Quilt
|
dtmqlt
|
PRO_QUILT
|
|
Annotations
|
||
|
Dimension
|
dimension
|
PRO_DIMENSION
|
|
Reference dimension
|
ref_dim
|
PRO_REF_DIMENSION
|
|
Geometric tolerance
|
gtol
|
PRO_GTOL
|
|
3D symbol
|
symbol_3d
|
PRO_SYMBOL_INSTANCE
|
|
Note
|
any_note
|
PRO_NOTE
|
|
3D Note
|
note_3d
|
PRO_NOTE
|
|
3D surface finish
|
surffin_3d
|
PRO_SURF_FIN
|
|
Annotation element
|
annot_elem
|
PRO_ANNOTATION_ELEM
|
|
Drawing Items
|
||
|
Drawing view
|
dwg_view
|
PRO_VIEW
|
|
Drawing table
|
dwg_table
|
PRO_DRAW_TABLE
|
|
Draft entity
|
draft_ent
|
PRO_DRAFT_ENTITY
|
|
Detail symbol
|
dtl_symbol
|
PRO_SYMBOL_INSTANCE
|
|
Detail note
|
any_note
|
PRO_NOTE
|
|
Table cell
|
table_cell
|
PRO_DRAW_TABLE
|
|
Solids and Features
|
||
|
Feature
|
feature
|
PRO_FEATURE
|
|
Part
|
part
|
PRO_PART
|
|
Component Feature
|
membfeat
|
PRO_FEATURE
|
|
Assembly component model
|
component
|
PRO_PART, PRO_ASSEMBLY
|
|
Part or subassembly
|
prt_or_asm
|
PRO_PART, or PRO_ASSEMBLY
|
|
Miscellaneous Items
|
||
|
Items
|
Refer to the table in the section Selection of Creo Simulate Items
|
|
|
External object
|
ext_obj
|
PRO_EXTOBJ
|
|
Diagram fixed connector, fixed component, or parametric connector
|
dgm_obj
|
PRO_DIAGRAM_OBJECT
|
|
Diagram wire (not a cable)
|
dgm_non_cable_wire
|
PRO_DIAGRAM_OBJECT
|
|
Solid Body
|
3d_body
|
PRO_BODY
|
|
ECAD conductor
|
ecad_cu
|
PRO_ECAD_CONDUCTOR
|
|
MBD table
|
table_3d
|
PRO_TABLE
|
|
Note:
|
The attribute PRO_SELECT_BY_BOX_ALLOWED can be used only for the types specified under “Geometry Items” in the above table.
|
|
Note:
|
The array of ProSelections is allocated and reused on subsequent calls to ProSelect().
|
|
Note:
|
• When using the function ProSelect() from within a loop, if you encounter the error PRO_TK_PICK_ABOVE (-14), then you must handle this error by returning control back to .
• The function ProSelect() returns PRO_TK_NO_ERROR when you end the command without making any selection in . The function returns the output argument p_n_sels as zero and the array p_sel_array as NULL.
|