Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Trying to acSubtract in VBA for AutoCAD

Status
Not open for further replies.

cashimplosion

Programmer
May 1, 2006
2
US
Hi everybody. I'm new here.

Here's my problem. I have a While loop that draws a cylinder over and over again at user-specified coordinates, and I want each occurence of the cylinder to subtract from a large box that is also on the screen.

This is where my problem is.

I've tried experimenting and using code that I've found around the internet, but VBA always prompts me for more info, like so:
piece.Boolean(acSubtraction, tool) =

It prompts me for another set of complete info after the equals sign. I have a VBA book but it leaves out lots of VBA options, such as the Boolean operations.

Anybody know anything about this?
 
Actually, I just figured it out

If I forego the perenthesis, it works perfect.
Hmm..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top