titurbina
Guest
as I have to remove the annoying request of confirmation of the quota in vba of solidworks.
I'll explain better.
in the macro below indicated I insert through vba of solidworks a rectangle , but when I have to confirm the quota the program stops and asks me confirmation, as from attached in pdf, how do I not ask every time to confirm?
vsklines = part.sketchmanager.createcornerrectangle(xpianocoord, ypianocoord, zpianocoord, xretangle, yrettangle, zretangle)
set part = swapp.activedoc
set selmgr = part.selectionmanager
boolstatus = part.extension.selectbyid2("frontal plane", "plane", 0, 0, false, 0, nothing, 0)
part.sketchmanager.insertsketch true
part.clearselection2 true
Thank you.
:finger::finger::smile::smile:
I'll explain better.
in the macro below indicated I insert through vba of solidworks a rectangle , but when I have to confirm the quota the program stops and asks me confirmation, as from attached in pdf, how do I not ask every time to confirm?
vsklines = part.sketchmanager.createcornerrectangle(xpianocoord, ypianocoord, zpianocoord, xretangle, yrettangle, zretangle)
set part = swapp.activedoc
set selmgr = part.selectionmanager
boolstatus = part.extension.selectbyid2("frontal plane", "plane", 0, 0, false, 0, nothing, 0)
part.sketchmanager.insertsketch true
part.clearselection2 true
Thank you.
:finger::finger::smile::smile: