Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JStephen 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
Joined
Dec 31, 2011
Messages
152
Location
US
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

Back
Top