cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Surf list box - List filename/drawing number, or provide method of customization of the table fields.

Surf list box - List filename/drawing number, or provide method of customization of the table fields.

When surfing on a component, it would be nice if the table it initially pulls up could list the file name where a tag instance occurs.

 

We use AutoCAD in a multidiscipline roll, with electrical, pneumatic and hydraulic blocks shown on the same drawing in some cases and BOMs are getting messed up depending on which block the drafter used (HY PN or the electrical vcersion).  We dropped using the HY and PN in the WDTYPE field because we did not want to have to run 3 separate bills on the same drawing when all 3 types are shown on a single drawing.  Our file names indicate if they are primarily a pneumatic, hydraulic or electrical drawing, but we cannot see the filenames or the HY, PN on the surfer dialog box.  In our case, the WDTYPE attribute is more problematic than nothing at all.

 

Lisp below strips them all out of an existing drawing, or substitutes them depending on which report you want to use.

 

(DEFUN C:ELBOM ();
(COMMAND "-ATTEDIT" "N" "N" "*" "WDTYPE" "*" "HY" "")
(COMMAND "-ATTEDIT" "N" "N" "*" "WDTYPE" "*" "PN" "")
)

(DEFUN C:HYBOM ();
(COMMAND "-ATTEDIT" "N" "N" "*" "WDTYPE" "*" "HY" "")
(COMMAND "-ATTEDIT" "N" "N" "*" "WDTYPE" "*" "PN" "")
(COMMAND "-ATTEDIT" "N" "N" "*" "WDTYPE" "" "" "HY")
)

(DEFUN C:PNBOM ();
(COMMAND "-ATTEDIT" "N" "N" "*" "WDTYPE" "*" "HY" "")
(COMMAND "-ATTEDIT" "N" "N" "*" "WDTYPE" "*" "PN" "")
(COMMAND "-ATTEDIT" "N" "N" "*" "WDTYPE" "" "" "PN")
)

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report