Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Delete or hide all the cross hatching on a print??

Status
Not open for further replies.

jagodragon

Automotive
Mar 2, 2009
61
0
0
US
Hello,

Is there a way to delete or hide all of the cross hatching on a print in one stroke? I have a rather large print I am working on for our customer and they refuse to accept a print with cross hatching.

any help would be appreciated..
 
Replies continue below

Recommended for you

Go to >

Edit

Search

(in the name field, type in) GeneratedShape

then selected the lower binocular icon.

All hatching should be highlighted.

Then just click the Hide icon
 
Code:
Sub Hide_Hatch()

Set productDocument1 = CATIA.ActiveDocument

Set selection1 = productDocument1.Selection
selection1.Clear
selection1.Search "Drafting.'Generated Shape'"
 
Set visProperties1 = selection1.VisProperties
visProperties1.SetShow catVisPropertyNoShowAttr

End Sub
 
Status
Not open for further replies.
Back
Top