Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Attribute to Attribute info transfer

Status
Not open for further replies.

mikehetherton

Structural
Jan 18, 2003
14
G'day Group,

I'm starting to think this isn't possible!!!!
I would like some advice on how to go about the following:

In model space I bring in the parts that I require as blocks. Each of these blocks has an invisible attribute attached. For example three pieces of channel section are inserted into a drawing they make up a triangle two of the sections are the same part. The attribute called "Definition" contains Weight, Length, Code, DWG_No. I can export this information to excel from model space no worries.

The question is how do I export/import this info to the attributes in Paper space (layout1) called "BOM" with the same tag names????

Because at present I am filling in the bill of material by hand.

USING A2K2 on windows 2000 and express tools.

Cheers
Mike
 
Replies continue below

Recommended for you

Dear Mike,
Your problem can be solved using facilities in VBA or VisualLISP.
:)
Farzad
 
I was afraid of that. Now my basic Lisp skill will have to become indepth.

Cheers
Mike
 
IMO, if you can do it using plain AutoCAD commands, then you can make a program to do it automatically.

Are you inserting different blocks with same attribute
tags/different string values in ModelSpace? Or same block in multiple instances? Is a line in your paperspace BOM
also a block with attributes?

Can you not extract all the attribute tag values and put all of them in a list of lists? 1 item in the list is equivalent to 1 line in your paperspace BOM (same tagnames as your blocks).

If you cannot understand what I'm saying...imagine looking
at your paperspace BOM, the number of columns is equal to the number of attribute tags of the block in modelspace.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor