×
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

Attribute to Attribute info transfer

Attribute to Attribute info transfer

Attribute to Attribute info transfer

(OP)
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

RE: Attribute to Attribute info transfer

Dear Mike,
Your problem can be solved using facilities in VBA or VisualLISP.
:)
Farzad

RE: Attribute to Attribute info transfer

(OP)
I was afraid of that. Now my basic Lisp skill will have to become indepth.

Cheers
Mike

RE: Attribute to Attribute info transfer

dwgBaseDB can update attributes by name. Example for this is in the step by step example download at http://www.dwgbase.com.

RE: Attribute to Attribute info transfer

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.

 

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!


Resources