Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to turn off the automatically created center lines in drafting view using NXOpen ?

Status
Not open for further replies.

biw01

Automotive
Dec 31, 2011
152
Hello Friends,

Can someone let me know if there is any way to turn off the automatically created center lines in drafting view using NXOpen?
I want to turn off the center lines for all the manual placed views using NXOpen ?

I tried the below sample code , but it is not working :(
Note :All my manual placed views are base views and there are no projected views.

Code:
        Dim baseViewBuilder1 As BaseViewBuilder
        baseViewBuilder1 = objPart.DraftingViews.CreateBaseViewBuilder(objView)
        baseViewBuilder1.Style.ViewStyleGeneral.Centerlines = False
        Dim nXObject2 As NXObject
        nXObject2 = baseViewBuilder1.Commit()
        baseViewBuilder1.Destroy()

Please help !!!

Thanks,
Amitabh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor