×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Balloon Auto-Fill

Balloon Auto-Fill

Balloon Auto-Fill

(OP)
Hi,
Is it possible to have a macro that when run, would allow me to click on a part in an assembly drawing, create a balloon and populate the text with a property I created in the part properties. ?
I'm struggling trying to find the code to point to a specific property.

any help would be appreciated.

thanks
Alan

RE: Balloon Auto-Fill

Hello, i think its possible, i have somewhere macro, it takes any part properties and fill header in drawing, in ur case it will be just to fill ballon. ALso that first part of code is here on forum.

https://www.eng-tips.com/viewthread.cfm?qid=448499

RE: Balloon Auto-Fill

(OP)
Thanks, I’ll give it a go :)

RE: Balloon Auto-Fill

(OP)
Tried the code but couldn't get it to work.
Does anyone know how catia shows the number of a part before it creates the balloon ?
Also I use catia start command to begin the balloon creation it doesn't actually put a balloon around the text, any ideas why ?

RE: Balloon Auto-Fill

Does anyone know how catia shows the number of a part before it creates the balloon ?

After you run Generate Numbers, the number appears in the Properties of each assembly component

RE: Balloon Auto-Fill

(OP)
Thanks jackk,

I have searched the net trying to find a snippet of code that pulls a parts parameters into a drawing but nothing seems to be out there.
Do you know if this is just one of them things that catia can't do. ?
The odd item that I have come across doesn't work.

ta
Alan

RE: Balloon Auto-Fill

Hi, i am sry, i wasnt here for some time, its not that hard to take those parameters.
If you are in drawing just switch to the part u want to take parameters, take it, then switch back to the drawing and fill it.

I have one more idea, if you crate first ballons with part number, you can use that info to swith to the parts or open them, so u can tak ethat parameters you want.

RE: Balloon Auto-Fill

(OP)
Hi, thanks for the replies,
The method you mentioned is the one I'm using at the moment.
When you balloon a part it will auto fill with the part number, what I'm trying to find out is how does it find this number ?
If I could find the code it uses them maybe it's possible to have a macro that will autofill balloons with any part property you like.

RE: Balloon Auto-Fill

Correct me if I am wrong, but before you run the balloons, you need to run the Generate Numbering command, which generates Instance Numbers in Part Properties

regards,
LWolf

RE: Balloon Auto-Fill

(OP)
Hi LWolf,
If you go to options / drafting / annotation & dress up / balloon creation
you can select either Numbers, Instance or Part number.
So my thinking is, if it knows the part number why can't it find a property inside that part ?
I could be barking up the wrong tree again & it might not be that simple.

cheers
alan

RE: Balloon Auto-Fill

(OP)
I probably didn't make myself clear when I first asked about this.
I don't want catia to auto-balloon an assembly as such.
I'm looking to create a macro that will create a single balloon that will contain a properties text instead of the part number.

clear as mud :/

RE: Balloon Auto-Fill

Hi,
i m not sure that's possible, but i m also interested how they do it, it must be smthg, i dont work a lot with 2D.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close