![]() |
IDCCEN |
Equivalent PK functions: |
PK_SURF_find_curves_common PK_CURVE_find_surfs_common PK_FACE_find_edges_common |
IDCCEN ( enty1, enty2, idty, entys, nitems, ifail ) =================================================== Identify common connected entities Can be called from the GO. Receives: KI_tag_entity *enty1 --- first entity to look in <KI_tag_entity> *enty2 --- second entity to look in KI_cod_idty *idty --- type of connection Returns: KI_tag_list_entity *entys --- Returned list of entities <KI_int_nitems> *nitems --- Number of returned entities KI_cod_error *ifail --- failure indicator Specific errors: KI_general_body General body KI_not_in_same_body entities not owned by the same body KI_wrong_entity wrong entity type(s) Description: Identify and return a list of entities connected to the received entity or entities and with the specified connection. All connections are found via the topology of the part; e.g. to identify all curves common to two surfaces, all the faces associated with the first surface are compared with all the faces associated with the second surface to find all common edges and hence all common curves. The supported connection types are:- IDTYCS: Find common curves from two surfaces Both surfaces must be owned by topology in the same part enty1, enty2 = surfaces entys = list of curves (May contain duplicate entries) IDTYSC: Find pairs of surfaces given common curve enty1 = curve entys = list of pairs of surfaces IDTYEF: Find edges common to two faces Both faces must be owned by the same part enty1, enty2 = faces entys = list of edges This function is not supported for entities belonging to general bodies.