VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

(c:ace_auto_rpt rgfnam firstdnam templatenam)

0 REPLIES 0
Reply
Message 1 of 1
tim
Participant
314 Views, 0 Replies

(c:ace_auto_rpt rgfnam firstdnam templatenam)

 I have seen posts that say this works and some that say it doesn’t. Anyone have any direct experience with it. I haven’t gotten it to give any output. The report works fine using the Automatic report interface.

 

This is my report:

 

Report = Panel Bill of Material (TAG_PBOM)

Format = (16 28 2 3 20 21  (7 4 3 8 9 10 11 12 13 14 ))

Title = ("ITEM" "N/A" "QTY" "CATALOG" "MFG" "ASSYCODE" "DESCRIPTION" "DESC" "QUERY2" "QUERY3" "MISC1" "MISC2" "USER1" "USER2" "USER3" "TABNAM" "TAG" "DESC1" "DESC2" "DESC3" "INSTALLATION" "LOCATION" "UM" "MOUNT" "GROUP" "HDL" "DWGIX" "REF" "SHEET" )

Characters = (12 4 4 60 24 24 60 60 60 60 60 60 24 24 24 32 24 60 60 60 24 16 60 24 24 18 12 12 12 )

Justification = ("R" "L" "L" "L" "L" "L" "L" "R" "R" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" "L" )

Sorting = (17 17 17 17 )

Output File Type = XLS

Output File Name = "C:/Autocad Electrical Report Output/BOM.xls"

Include Options = ("1" "0" "1" "1" "1" "1" "0" "1" "1" "0" "0" "0" "0" "0" "" )

Location Options = (1 nil )

Installation Options = (1 nil )

 

 

This is my report group:

 

  "Panel Bill of Material","C:/Users/Timothy/AppData/Roaming/Autodesk/AutoCAD Electrical 2014/R19.1/enu/Support/user/Panel BOM.set",x,nil

 

This is my code:

 

  ThisDrawing.SendCommand "(c:ace_auto_rpt PanelBOM.rgf nil nil)" & vbCr

 

This is the command line output:

 

  Command: (c:ace_auto_rpt PanelBOM.rgf nil nil)

0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report

”Boost