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.
Please help !!!
Thanks,
Amitabh
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