Search Results for

    Show / Hide Table of Contents

    Class CompDrawingBuilder

    Inheritance
    object
    MarshalByRefObject
    NXRemotableObject
    TaggedObject
    Builder
    CompDrawingBuilder
    Implements
    IMessageSink
    IComponentBuilder
    Inherited Members
    Builder.Commit()
    Builder.Destroy()
    Builder.GetCommittedObjects()
    Builder.GetObject()
    Builder.ShowResults()
    Builder.Validate()
    Builder.PreviewBuilder
    TaggedObject.initialize()
    TaggedObject.ToString()
    TaggedObject.PrintTestData(string)
    TaggedObject.PrintTestData(string, int)
    TaggedObject.Tag
    NXRemotableObject.SyncProcessMessage(IMessage)
    NXRemotableObject.AsyncProcessMessage(IMessage, IMessageSink)
    NXRemotableObject.NextSink
    MarshalByRefObject.GetLifetimeService()
    MarshalByRefObject.InitializeLifetimeService()
    MarshalByRefObject.MemberwiseClone(bool)
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NXOpen.Tooling
    Assembly: NXOpen.dll
    Syntax
    public class CompDrawingBuilder : Builder, IMessageSink, IComponentBuilder

    Constructors

    CompDrawingBuilder()

    Declaration
    protected CompDrawingBuilder()

    Properties

    Component

    Declaration
    public SelectComponent Component { get; }
    Property Value
    Type Description
    SelectComponent

    ComponentType

    Declaration
    public CompDrawingBuilder.ComponentTypeSelection ComponentType { get; set; }
    Property Value
    Type Description
    CompDrawingBuilder.ComponentTypeSelection

    DestinationFolder

    Declaration
    public string DestinationFolder { get; set; }
    Property Value
    Type Description
    string

    DoubleViewScale

    Declaration
    public double DoubleViewScale { get; set; }
    Property Value
    Type Description
    double

    DrawingFileNamingRule

    Declaration
    public string DrawingFileNamingRule { get; set; }
    Property Value
    Type Description
    string

    DrawingFilter

    Declaration
    public CompDrawingBuilder.DrawingType DrawingFilter { get; set; }
    Property Value
    Type Description
    CompDrawingBuilder.DrawingType

    DrawingSheetNamingRule

    Declaration
    public string DrawingSheetNamingRule { get; set; }
    Property Value
    Type Description
    string

    EnumReferenceSet

    Declaration
    public CompDrawingBuilder.ReferenceSet EnumReferenceSet { get; set; }
    Property Value
    Type Description
    CompDrawingBuilder.ReferenceSet

    EnumRenderingStyle

    Declaration
    public CompDrawingBuilder.RenderingStyleOption EnumRenderingStyle { get; set; }
    Property Value
    Type Description
    CompDrawingBuilder.RenderingStyleOption

    Filter

    Declaration
    public CompDrawingBuilder.FilterSelection Filter { get; set; }
    Property Value
    Type Description
    CompDrawingBuilder.FilterSelection

    IsKeepDrawingOpen

    Declaration
    public bool IsKeepDrawingOpen { get; set; }
    Property Value
    Type Description
    bool

    Margin

    Declaration
    public int Margin { get; set; }
    Property Value
    Type Description
    int

    MarginForView

    Declaration
    public double MarginForView { get; set; }
    Property Value
    Type Description
    double

    Projection

    Declaration
    [Obsolete("Deprecated in NX1953.0.0.  This functionality is no longer supported.")]
    public CompDrawingBuilder.ProjectionType Projection { get; set; }
    Property Value
    Type Description
    CompDrawingBuilder.ProjectionType

    WizardType

    Declaration
    public int WizardType { get; set; }
    Property Value
    Type Description
    int

    Methods

    AddComponentSheet(NXObject, string, string, string, string, double, ReferenceSet, RenderingStyleOption)

    Declaration
    public void AddComponentSheet(NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName, double viewScale, CompDrawingBuilder.ReferenceSet referenceSet, CompDrawingBuilder.RenderingStyleOption renderingStyle)
    Parameters
    Type Name Description
    NXObject component
    string componentPartName
    string drawingFileName
    string drawingName
    string templateName
    double viewScale
    CompDrawingBuilder.ReferenceSet referenceSet
    CompDrawingBuilder.RenderingStyleOption renderingStyle

    AssignAttribute(NXObject, string, string)

    Declaration
    public void AssignAttribute(NXObject objectTag, string attributeTitle, string attributeValue)
    Parameters
    Type Name Description
    NXObject objectTag
    string attributeTitle
    string attributeValue

    ChangeReferenceSet(NXObject)

    Declaration
    public void ChangeReferenceSet(NXObject compTag)
    Parameters
    Type Name Description
    NXObject compTag

    ChangeRenderingStyle(RenderingStyleOption)

    Declaration
    public void ChangeRenderingStyle(CompDrawingBuilder.RenderingStyleOption styleOption)
    Parameters
    Type Name Description
    CompDrawingBuilder.RenderingStyleOption styleOption

    ChangeViewScale(double)

    Declaration
    public void ChangeViewScale(double scale)
    Parameters
    Type Name Description
    double scale

    CreateAll()

    Declaration
    public void CreateAll()

    CreateComponentDrawing(NXObject, string, string, string, string, string[], string[], double, ReferenceSet, RenderingStyleOption)

    Declaration
    public void CreateComponentDrawing(NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName, string[] attributeTitles, string[] attributeValues, double viewScale, CompDrawingBuilder.ReferenceSet referenceSet, CompDrawingBuilder.RenderingStyleOption renderingStyle)
    Parameters
    Type Name Description
    NXObject component
    string componentPartName
    string drawingFileName
    string drawingName
    string templateName
    string[] attributeTitles
    string[] attributeValues
    double viewScale
    CompDrawingBuilder.ReferenceSet referenceSet
    CompDrawingBuilder.RenderingStyleOption renderingStyle

    DeleteCompDrawing(NXObject, string, string, string, string)

    Declaration
    public void DeleteCompDrawing(NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName)
    Parameters
    Type Name Description
    NXObject component
    string componentPartName
    string drawingFileName
    string drawingName
    string templateName

    DeleteCompSheet(NXObject, string, string, string, string)

    Declaration
    public void DeleteCompSheet(NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName)
    Parameters
    Type Name Description
    NXObject component
    string componentPartName
    string drawingFileName
    string drawingName
    string templateName

    DeleteDrawing(string, string, string, string)

    Declaration
    [Obsolete("Deprecated in NX8.5.0.  Use NXOpen.Tooling.CompDrawingBuilder.DeleteCompDrawing instead.")]
    public void DeleteDrawing(string pName, string dFile, string dName, string templateName)
    Parameters
    Type Name Description
    string pName
    string dFile
    string dName
    string templateName

    EditCompDrawing(NXObject, string, string, string, string, string)

    Declaration
    public void EditCompDrawing(NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName, string oldSheetName)
    Parameters
    Type Name Description
    NXObject component
    string componentPartName
    string drawingFileName
    string drawingName
    string templateName
    string oldSheetName

    EditDrawing(string, string, string, string)

    Declaration
    [Obsolete("Deprecated in NX8.5.0.  Use NXOpen.Tooling.CompDrawingBuilder.EditCompDrawing instead.")]
    public void EditDrawing(string pName, string dFile, string dName, string templateName)
    Parameters
    Type Name Description
    string pName
    string dFile
    string dName
    string templateName

    IgnoreComponents(NXObject)

    Declaration
    public void IgnoreComponents(NXObject component)
    Parameters
    Type Name Description
    NXObject component

    InitConstructor()

    Declaration
    public void InitConstructor()

    OpenCompDrawing(NXObject, string, string, string, string)

    Declaration
    public void OpenCompDrawing(NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName)
    Parameters
    Type Name Description
    NXObject component
    string componentPartName
    string drawingFileName
    string drawingName
    string templateName

    OpenDrawing(string, string, string, string)

    Declaration
    [Obsolete("Deprecated in NX8.5.0.  Use NXOpen.Tooling.CompDrawingBuilder.OpenCompDrawing instead.")]
    public void OpenDrawing(string pName, string dFile, string dName, string templateName)
    Parameters
    Type Name Description
    string pName
    string dFile
    string dName
    string templateName

    SetDisplayState(int, string, NXObject)

    Declaration
    public void SetDisplayState(int displayState, string layout, NXObject drawingTag)
    Parameters
    Type Name Description
    int displayState
    string layout
    NXObject drawingTag

    UpdateCompDrawing(NXObject, NXObject, string, string, string, string)

    Declaration
    public void UpdateCompDrawing(NXObject drawing, NXObject component, string componentPartName, string drawingFileName, string drawingName, string templateName)
    Parameters
    Type Name Description
    NXObject drawing
    NXObject component
    string componentPartName
    string drawingFileName
    string drawingName
    string templateName

    Implements

    System.Runtime.Remoting.Messaging.IMessageSink
    IComponentBuilder
    In this article
    Back to top Generated by DocFX