uf_linked_exterior.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about linked exterior

 


 
uf_mdlcmp.h (view source)
 
Overview
User Functions for Model Compare

 


 
uf_modl.h (view source)
 
Overview
The functions in this and the other uf_modl_.h files allow
you to perform various modeling operations which include functions for:

creation of primitives and features
querying modeling objects
creating, deleting, and editing expressions

Several inquire routines with the prefix UF_MODL_ask_xxxx, return
lists of items. Since identifiers exist for bodies, features, faces and
edges, be careful to use the correct identifiers as input into other
UF_MODL_xxxx routines. The routines that return bodies, faces and
edges contain identifiers that can be used throughout the Open
API. But the routines that return feature identifiers can be used only
within other Open API functions with the prefix UF_MODL_xxxx
that require a feature for input.

For example, calling UF_MODL_ask_body_feats() returns a list of
features that are connected to the input body identifier. The
identifiers contained in this list are valid in the following routines
only:

UF_MODL_ask_xxxx_parms()
UF_MODL_ask_feat_xxxx()
UF_MODL_move_feature()
UF_MODL_delete_feature()

A common mistake in using the UF_MODL_xxxx routines involves the
hierarchy of the solids created. The descending order is body, feature,
face, and then edge. When you create the first primitive, you may
think that the identifier returned is a body identifier, but it is not. To
get the body, you must first call UF_MODL_ask_feat_body() to get the
proper body identifier.

The "ask" routines that inquire about bodies, faces, edges, etc. do not
guarantee a consistent order with respect to location in a list. For
example, if you get the faces on the block, a specific face is not always
found at the same location in the list.

The "ask" routines will return information with respect to the owning
part of the object being inquired, unless specifically stated in the
function's documentation. This is important in mixed unit assemblies where
data is desired in the context of the assembly part. By using the occurrence
tag as input to the "ask" routines, data will be scaled and translated to,
or from, the assembly. By using the prototype tag, data will be returned
in the context of the prototype part units.

When you have more than one solid in a part and you wish to perform
an operation on a solid such as adding a feature or doing a boolean,
you must identify which solid is the target for the operation. Use the
function UF_MODL_active_part to identify the target
solid. You do not need to identify a solid if it is the only solid or if it
was the last solid you worked on interactively.

Before a body/face/edge is promoted, its occurrence points to the prototype in
the component. After a body/face/edge is promoted, a new prototype is created
and the occurrence is changed so that it points to the new prototype (promoted
prototype). The promoted prototype and the promoted body are one and the same.
Therefore, if you query a promoted body for its prototype with
UF_ASSEM_ask_prototype_of_occ, it returns the tag of the promoted body.

You can go from a base body/face/edge to the corresponding promoted
body/face/edge using UF_MODL_prom_map_object_up
Similarly, you can go from a promoted body/face/edge to the corresponding base
body/face/edge using UF_MODL_prom_map_object_down. Both routines
work with prototypes only.

Work Part Restrictions
For those functions/subroutines that perform an operation (create/edit) with an
object, the object must not be an occurrence and the object must be in
the same part as the work part. If either one of these requirements are
not met, then a NULL_TAG is returned for the object on which the
operation is performed.

 


 
uf_modl_blends.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about blends.

 


 
uf_modl_bsurf.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about B-surfaces.
This file uses the structure UF_MODL_state_t which is a type define of UF_CURVE_state_t

 


 
uf_modl_curves.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about curves.

 


 
uf_modl_datum_features.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about datum features
such as datum plane and datum axis.

 


 
uf_modl_dfo.h (view source)
 
Overview
APIs of Direct Modeling / Constrain_Face project

 


 
uf_modl_dieeng.h (view source)
 
Overview
Open API modeling routines to inquire about die engineering features.

 


 
uf_modl_error.h (view source)
 
Overview
Open API errors for the Modeling application interface.

 


 
uf_modl_expressions.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about expressions.

 


 
uf_modl_form_features.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about features such as
Hole, Boss, Pocket, Pad, Slot, Groove, bounded plane, thicken sheet, .

 


 
uf_modl_freeform.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about features such as
ruled, thru_curves, thru_curve_mesh, swept, section, extension, offset, bridge,
trimmed sheet, quilt, midsurface, and etc

 


 
uf_modl_grooves.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about grooves.

 


 
uf_modl_holes.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about holes.

 


 
uf_modl_hollow.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about hollows.

 


 
uf_modl_import_body.h (view source)
 
Overview
Open modeling routines to inquire, edit and update import body features.

 


 
uf_modl_isets.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about isets.

 


 
uf_modl_legacy.h (view source)
 
Overview
These routines are the Modeling legacy routines. These routines are in
the process of being replaced with other modeling functionality.

Work Part Restrictions

For those functions/subroutines that perform an operation on an
object, the object must not be an occurrence and the object must be in
the same part as the work part. If either one of these requirements are
not met, then a NULL_TAG is returned for the object on which the
operation is performed. These restrictions apply to the following older
solids routines:
UF6506
UF6507
UF6508
UF6511
UF6523
UF6524
UF6525
UF6526
UF6527

NOTE
UF6560 does NOT return an error message in this case.

 


 
uf_modl_mswp.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about mswp.

 


 
uf_modl_mswp_types.h (view source)
 
Overview
Sweep (MSWP) data structures and types

 


 
uf_modl_pads.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about pads.

 


 
uf_modl_pockets.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about pockets.

 


 
uf_modl_primitives.h (view source)
 
Overview
Open API modeling routines to create/inquire solid primitive features
like block, cone, cylinder and sphere.

 


 
uf_modl_promotions.h (view source)
 
Overview
This file contains routines pertaining to Promotions in Modelling.

 


 
uf_modl_simplify.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about simplify feature and
imprint.

 


 
uf_modl_sketch.h (view source)
 
Overview
Open API modeling interface to sketches.

 


 
uf_modl_slots.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about slots.

 


 
uf_modl_smd.h (view source)
 
Overview
Open API routines for Sheet Metal Design.

 


 
uf_modl_sweep.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about sweeps.

 


 
uf_modl_taper.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about tapers.

 


 
uf_modl_trex.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about blends.

 


 
uf_modl_types.h (view source)
 
Overview
Contains Open API s for modeling.

 


 
uf_modl_udf.h (view source)
 
Overview
Open API modeling routines to create, edit and inquire about User Defined
Features (UDF).
There are two types of UDF features - 1. Old Style Pre-V15 UDF
2. New Style V15 UDF
For more information about the two types of UDF please see the online help collection
under User Defined Feature -> Redefining a UDF.

 


 
uf_modl_ugopenint.h (view source)
 
Overview
Open API modeling interface to sketches.

 


 
uf_modl_utilities.h (view source)
 
Overview
Open API modeling utility functions.