Insert BOM into Drawing with API???
Insert BOM into Drawing with API???
(OP)
I have written a Small VB App that Creates a drawing From an Open Model and works quite well But I want to create a Bill Of Material And I cannot Find the API hook to do this! I have recorded a macro in SW and looked at the code there and it uses a command - part.InsertBOM ...but nothing like that exists in the VB API and the Macro Code does not work in VB (complains about the InsertBOM command)...Please help!
I also have another problem in connection with getting the PRP value from a drawing but saw a reference in another thread will comment there.
Thanks Guys..
I also have another problem in connection with getting the PRP value from a drawing but saw a reference in another thread will comment there.
Thanks Guys..






RE: Insert BOM into Drawing with API???
retval = View.InsertBomTable (Template, Xloc, Yloc, Errors)
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
RE: Insert BOM into Drawing with API???
What version of SW are you running. I do not beleave that you can insert a BOM through the API in versions prior to 2001+. I am almost certain you can not in 2000.
BBJT CSWP
RE: Insert BOM into Drawing with API???
BBJT, I believe that you are correct.
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.
RE: Insert BOM into Drawing with API???
What I want to try is Run a Macro From my VB app and sendkeys is not really an option as there are two many factors that can influence something going wrong (Namely our design team play with to much s*&t they WILL cause an error.) :)