ballooning with vba

ballooning with vba

Anonymous
Not applicable
471 Views
7 Replies
Message 1 of 8

ballooning with vba

Anonymous
Not applicable
It probably has been done! but is there anyone written a VBA code to
automate ballooning of items in a autocad drawing. I know there is
AMBALLOON in Mechanical Desktop but it only will do MD parts and not the
more simple thing of a leader plus a balloon with a number in it.


--

Ole Germer
Design and Drafting Services
http://www3.sympatico.ca/ole.germer/index.html
0 Likes
472 Views
7 Replies
Replies (7)
Message 2 of 8

Anonymous
Not applicable
Ole Germer had this to say
:
> It probably has been done! but is there anyone written a VBA code to
> automate ballooning of items in a autocad drawing. I know there is
> AMBALLOON in Mechanical Desktop but it only will do MD parts and not
> the more simple thing of a leader plus a balloon with a number in it.

Have you tried using the Manual option when placing a balloon?

--
There are 10 kinds of people:
Those who understand binary and those who don't
http://www.acadx.com
0 Likes
Message 3 of 8

Anonymous
Not applicable
I have written an appropiate routine in vlisp. It is just I would like to
get the visual options available in vba. Yes, I am a beginner but everyone
starts somewhere.

Ole


"Frank Oquendo" wrote in message
news:A7FF50B33159285B29C0AA479BAA2949@in.WebX.maYIadrTaRb...
> Ole Germer had this to say
> :
> > It probably has been done! but is there anyone written a VBA code to
> > automate ballooning of items in a autocad drawing. I know there is
> > AMBALLOON in Mechanical Desktop but it only will do MD parts and not
> > the more simple thing of a leader plus a balloon with a number in it.
>
> Have you tried using the Manual option when placing a balloon?
>
> --
> There are 10 kinds of people:
> Those who understand binary and those who don't
> http://www.acadx.com
>
>
>
>
0 Likes
Message 4 of 8

Anonymous
Not applicable
when I did my lisp bubble routine, I used command calls to create the leader. It is very tricky.
I did not like the VB equivalent of drawing the leaders with sendcommands...
The other lame thing about VB is that there is no grdraw function. I used that in lisp to fake in the multisegment
leader before doing the actual draw of it.
I am curious how others handle that.

"Ole Germer"
|>I have written an appropiate routine in vlisp. It is just I would like to
|>get the visual options available in vba. Yes, I am a beginner but everyone
|>starts somewhere.
|>
|>Ole
|>
|>
|>"Frank Oquendo" wrote in message
|>news:A7FF50B33159285B29C0AA479BAA2949@in.WebX.maYIadrTaRb...
|>> Ole Germer had this to say
|>> :
|>> > It probably has been done! but is there anyone written a VBA code to
|>> > automate ballooning of items in a autocad drawing. I know there is
|>> > AMBALLOON in Mechanical Desktop but it only will do MD parts and not
|>> > the more simple thing of a leader plus a balloon with a number in it.
|>>
|>> Have you tried using the Manual option when placing a balloon?
|>>
|>> --
|>> There are 10 kinds of people:
|>> Those who understand binary and those who don't
|>> http://www.acadx.com
|>>
|>>
|>>
|>>
|>

James Maeding
Civil Engineer/Programmer
0 Likes
Message 5 of 8

Anonymous
Not applicable
I do not make multisegment leaders. That is not used in the ANSI standard,
or the American or Canadian military standard. I do use stacked balloons,
and I do use lower letter calls according to the two steel companies here in
town.
Ole

"James Maeding" wrote in message
news:go3vvuk0uuqbmbic8datt6iptdm7dq4kev@4ax.com...
> when I did my lisp bubble routine, I used command calls to create the
leader. It is very tricky.
> I did not like the VB equivalent of drawing the leaders with
sendcommands...
> The other lame thing about VB is that there is no grdraw function. I used
that in lisp to fake in the multisegment
> leader before doing the actual draw of it.
> I am curious how others handle that.
>
> "Ole Germer"
> |>I have written an appropiate routine in vlisp. It is just I would like
to
> |>get the visual options available in vba. Yes, I am a beginner but
everyone
> |>starts somewhere.
> |>
> |>Ole
> |>
> |>
> |>"Frank Oquendo" wrote in message
> |>news:A7FF50B33159285B29C0AA479BAA2949@in.WebX.maYIadrTaRb...
> |>> Ole Germer had this to say
> |>> :
> |>> > It probably has been done! but is there anyone written a VBA code to
> |>> > automate ballooning of items in a autocad drawing. I know there is
> |>> > AMBALLOON in Mechanical Desktop but it only will do MD parts and not
> |>> > the more simple thing of a leader plus a balloon with a number in
it.
> |>>
> |>> Have you tried using the Manual option when placing a balloon?
> |>>
> |>> --
> |>> There are 10 kinds of people:
> |>> Those who understand binary and those who don't
> |>> http://www.acadx.com
> |>>
> |>>
> |>>
> |>>
> |>
>
> James Maeding
> Civil Engineer/Programmer
0 Likes
Message 6 of 8

Anonymous
Not applicable
I've posted a ballooning routine I developed in A2K over a year ago. It's
in customer-files w/ subject "ballooning with vba (12.5K)". If you take a
look at it, please be kind. It was done very early in my ACAD VBA
experience. If you have questions about it, ask here.
--
John Goodfellow
irtfnm
use john at goodfellowassoc dot com


"Ole Germer" wrote in message
news:0993D214D0A239E1ABE833C6837FC74C@in.WebX.maYIadrTaRb...
> It probably has been done! but is there anyone written a VBA code to
> automate ballooning of items in a autocad drawing. I know there is
> AMBALLOON in Mechanical Desktop but it only will do MD parts and not the
> more simple thing of a leader plus a balloon with a number in it.
>
>
> --
>
> Ole Germer
> Design and Drafting Services
> http://www3.sympatico.ca/ole.germer/index.html
>
>
0 Likes
Message 7 of 8

Anonymous
Not applicable
I created a bubble routine a while back combining VBA and LISP. The interface is done in VBA, which thru the use of acadx.com's VLAX class, sets environment variables by way of lisp's SETENV function. When the VBA form and macro are done, i use LISP to do everything else. I'm not crazy about using VBA's SendCommand or the GetXXX functions of the Utility object -- i'd rather do that stuff thru LISP and keep VB/VBA for items requiring total automation. The bubbles can have straight or splined leaders, or none. - Lanny
0 Likes
Message 8 of 8

Anonymous
Not applicable
I would like to see your routine, if you are
willing.

Ole


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
created a bubble routine a while back combining VBA and LISP. The interface is
done in VBA, which thru the use of acadx.com's VLAX class, sets environment
variables by way of lisp's SETENV function. When the VBA form and macro are
done, i use LISP to do everything else. I'm not crazy about using VBA's
SendCommand or the GetXXX functions of the Utility object -- i'd rather do
that stuff thru LISP and keep VB/VBA for items requiring total automation. The
bubbles can have straight or splined leaders, or none. -
Lanny
0 Likes