uf_draw.h (查看源代码)
 
概述
This is the Open C API interface to drawing control. This allows the
programmer access to:

. create/query section lines, section views, and get current drawing
. edit section lines
. edit section line preferences

Drawing view routines return data for the display part. This is particularly
important when doing design-in-context where the work part is different from
the display part.

Many of the ucnnnn routines identify views using the view name. For these
routines the following conventions are used.

In V10, when a drawing member view name is specified, it needs to be appended
with an "@" character to denote it as a drawing member view. Specifying the view
name this way is actually a short cut since the actual view name contains an
integer following the "@" character. Optionally, you may enter the full name in
order to assure uniqueness of member view names (drawings can have more than one
instance of a given view on a single drawing in V10).

An example of a drawing member view name in V10 that is in some way derived
from the model view, TOP, is "TOP@3". To specify the name of the model view,
"TOP" should be given. To specify the name of the drawing member view, either
"TOP@" or "TOP@3" can be given. The full names of all the member views for a
given drawing can be retrieved using uc6499.

Additionally, drawings have an associated drawing work view whose name is the
drawing name with "@0" appended to it. Functions that create, retrieve, or
require the presence of a drawing will only be allowed in the drafting module
when running interactive NX Open API.

When drafting objects are created on a drawing in V10 Open C API, the objects
associated to the drafting object (the dimensioned objects) must be objects that
are on the drawing.

In routines that specify open and closed quotes = current drawing, view name,
etc., there are no spaces between the quotes ("").

In NX, when the drawing view is the work view, the layout which
contains the drawing is called !DRAWING. This layout name is read only and
cannot be used to set the current layout.

Drawing view routines return data for the display part. This is particularly
important when doing design-in-context where the work part is different from
the display part.

The following plotting-related functions may be removed in NX3.

. uc6490
. uc6491
. UF_DRAW_ask_plotter_data
. UF_DRAW_set_plotter_data

The planned deployment of a new plotting system in NX3 will
require definition of new functions to take advantage of features in the
new system. New functions will provide ready access to NX plotting
functionality, but might be significantly different from these older
functions. It may not be possible to preserve these legacy functions.

 


 
uf_draw_errors.h (查看源代码)
 
概述
This file contains all the error codes raised by the UF_DRAW module.

 


 
uf_draw_types.h (查看源代码)
 
概述
Contains Open C API s and macros that are specific to the DRAW module.