NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::Drawings::StandardViewsBuilder Class Reference

This builder allows the user to create a Drawing View
To create a new instance of this class, use Drawings::DraftingViewCollection::CreateStandardViewsBuilder
Default values. More...

Inheritance diagram for NXOpen::Drawings::StandardViewsBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Types

enum  Placement { PlacementCenter, PlacementCorner }
 The view Layout placement type (deprecated) More...
enum  Type {
  TypeFrontTop, TypeFrontRight, TypeFrontLeft, TypeFrontTopRight,
  TypeFrontTopLeft, TypeFrontTopRightIso, TypeFrontTopLeftIso
}
 The view Layout type. More...
enum  View { ViewDrawing, ViewBase }
 The view type to create. More...

Public Member Functions

bool Autoscale ()
 Returns the autoscale mode for base view creation
Created in NX6.0.2.
NXOpen::Drawings::ViewCenterCoordinateBuilderCoordinate ()
 Returns the center coordinate
Created in NX6.0.1.
NXOpen::Drawings::ViewPlacementBuilderFirstCorner ()
 Returns the first corner view placement

NXOpen::Drawings::HiddenObjectsBuilderHiddenObjects ()
 Returns the list of objects to not show in the view
Created in NX6.0.2.
NXOpen::Drawings::StandardViewsBuilder::Type LayoutType ()
 Returns the Layout type
Created in NX6.0.1.
double MarginBetweenViews ()
 Returns the margin between views
Created in NX6.0.1.
double MarginToBorder ()
 Returns the margin to border
Created in NX6.0.1.
NXOpen::Drawings::MultipleViewPlacementBuilderMultipleViewPlacement ()
 Returns the multiple view placement
Created in NX6.0.2.
NXOpen::Drawings::HiddenObjectsBuilderNonSectionedObjects ()
 Returns the list of objects to not section in the view
Created in NX6.0.2.
NXOpen::PartPart ()
 Returns the part to use for base views
Created in NX6.0.2.
NXOpen::Drawings::StandardViewsBuilder::Placement PlacementType ()
 Returns the Placement type

NXOpen::Drawings::ViewScaleBuilderScale ()
 Returns the view scale
Created in NX6.0.1.
NXOpen::Drawings::ViewPlacementBuilderSecondCorner ()
 Returns the second corner view placement

void SetAutoscale (bool autoScale)
 Sets the autoscale mode for base view creation
Created in NX6.0.2.
void SetLayoutType (NXOpen::Drawings::StandardViewsBuilder::Type type)
 Sets the Layout type
Created in NX6.0.1.
void SetMarginBetweenViews (double marginBetweenViews)
 Sets the margin between views
Created in NX6.0.1.
void SetMarginToBorder (double marginToBorder)
 Sets the margin to border
Created in NX6.0.1.
void SetPart (NXOpen::Part *part)
 Sets the part to use for base views
Created in NX6.0.2.
void SetPlacementType (NXOpen::Drawings::StandardViewsBuilder::Placement type)
 Sets the Placement type

void SetViewType (NXOpen::Drawings::StandardViewsBuilder::View viewType)
 Sets the view type
Created in NX6.0.2.
NXOpen::Drawings::ViewPlacementBuilderViewPlacement ()
 Returns the view placement

NXOpen::Drawings::ViewStyleBuilderViewStyle ()
 Returns the view style
Created in NX6.0.1.
NXOpen::Drawings::StandardViewsBuilder::View ViewType ()
 Returns the view type
Created in NX6.0.2.

Detailed Description

This builder allows the user to create a Drawing View
To create a new instance of this class, use Drawings::DraftingViewCollection::CreateStandardViewsBuilder
Default values.

Property Value

FirstCorner.AlignmentMethod (deprecated)

Infer

FirstCorner.AlignmentOption (deprecated)

ToView

LayoutType

FrontTopRightIso

MarginBetweenViews

5 (millimeters part), 0.25 (inches part)

MarginToBorder

20 (millimeters part), 0.75 (inches part)

MultipleViewPlacement.OptionType

Center

Scale.Denominator

1.0

Scale.Numerator

1.0

Scale.ScaleType

Ratio

ViewStyle.ViewStyleGeneral.AngleValue

0.0

ViewStyle.ViewStyleOrientation.HingeLine.ReverseDirection

false

ViewStyle.ViewStyleOrientation.HingeLine.VectorOption

Inferred

ViewStyle.ViewStyleOrientation.Ovt.AssociativeOrientation

0


Created in NX6.0.1.


Member Enumeration Documentation

The view Layout placement type (deprecated)

Enumerator:
PlacementCenter 

center

PlacementCorner 

corner

The view Layout type.

Enumerator:
TypeFrontTop 

front, top

TypeFrontRight 

front, right

TypeFrontLeft 

front, left

TypeFrontTopRight 

front, top, right

TypeFrontTopLeft 

front, top, left

TypeFrontTopRightIso 

front, top, right, iso

TypeFrontTopLeftIso 

front, top, left, iso

The view type to create.

Enumerator:
ViewDrawing 

drawing (2d) views

ViewBase 

base views


Member Function Documentation

Returns the autoscale mode for base view creation
Created in NX6.0.2.



License requirements : None

Returns the center coordinate
Created in NX6.0.1.



License requirements : None

Returns the first corner view placement

Deprecated:
Deprecated in NX6.0.2.



Created in NX6.0.1.

License requirements : None

Returns the list of objects to not show in the view
Created in NX6.0.2.



License requirements : None

Returns the Layout type
Created in NX6.0.1.



License requirements : None

Returns the margin between views
Created in NX6.0.1.



License requirements : None

Returns the margin to border
Created in NX6.0.1.



License requirements : None

Returns the multiple view placement
Created in NX6.0.2.



License requirements : None

Returns the list of objects to not section in the view
Created in NX6.0.2.



License requirements : None

Returns the part to use for base views
Created in NX6.0.2.



License requirements : None

Returns the Placement type

Deprecated:
Deprecated in NX6.0.2.



Created in NX6.0.1.

License requirements : None

Returns the view scale
Created in NX6.0.1.



License requirements : None

Returns the second corner view placement

Deprecated:
Deprecated in NX6.0.2.



Created in NX6.0.1.

License requirements : None

Sets the autoscale mode for base view creation
Created in NX6.0.2.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
autoScalesets the auto-scale mode.

Sets the Layout type
Created in NX6.0.1.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
typesets the layout type.

Sets the margin between views
Created in NX6.0.1.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
marginBetweenViewssets the margin between views.

Sets the margin to border
Created in NX6.0.1.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
marginToBordersets the margin to border.

Sets the part to use for base views
Created in NX6.0.2.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
partpart

Sets the Placement type

Deprecated:
Deprecated in NX6.0.2.



Created in NX6.0.1.

License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
typesets the layout type.

Sets the view type
Created in NX6.0.2.



License requirements : nx_drafting_plus ("Drafting Plus")

Parameters:
viewTypesets the view type.

Returns the view placement

Deprecated:
Deprecated in NX6.0.2.



Created in NX6.0.1.

License requirements : None

Returns the view style
Created in NX6.0.1.



License requirements : None

Returns the view type
Created in NX6.0.2.



License requirements : None


The documentation for this class was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.