Jump to content

Bill of materials.


rwleigh

Recommended Posts

Hi there,

 

On an HND assignment there is a drawing of a Villa in plan view with outer walls, inner walls and then some attributed blocks created for furniture. Once drawn the second task is as follows.

 

Task 2

 

Write a report describing the methods you used, with a layout plan inserted into the document and to include a bill of materials extracted from the attribute files.

 

Can anyone enlighten me as to how you would go about extracting the BOM from the attributes please?

 

 

Cheers,

 

Richard.

Link to comment
Share on other sites

There are a couple of different methods available to you. One would be to use the ATTEXT command but this requires the creation of an attribute extraction template file. The other would be a custom lisp routine.

Link to comment
Share on other sites

I think I must be doing something wrong here, I'm trying to use the ATTEXT command you recommend so I've followed this to create an attribute extraction template file:

 

Start Notepad.

 

You can use any text editor or word processor that can save a text file in ASCII format.

 

Enter template information in Notepad. Save the file with a .txt file extension.

 

To extract data about a specific tag, insert the tag name in place of the "numeric" or "character" fields.

 

Problem is, when I now use ATTEXT and select the blocks I've created it just gives me a blank text file.

 

Any idea what I'm doing wrong?

 

Cheers,

 

Richard.

Link to comment
Share on other sites

I would if the upload manager would work. Tried adding this 1K txt file 3 times now with no success.

 

It's jus a txt file called attext.txt with attribute extraction template file in it.

 

Anything wrong with that?

 

Cheers,

 

Richard.

Link to comment
Share on other sites

Possibly because you haven't had that many posts up to now, I think you need to have 10 posts before you are allowed to post attachments, here is an example of what it should be looking like. With a name like extract.txt

 

The first line will output the name of the block and the second line will output the value from an attribute that has the tag "fitting". if you select 3 blocks with the attext command the output file should have 3 lines that give the block name with the value contained in the fitting attribute.

BL:NAME C020000
FITTING C030000

Link to comment
Share on other sites

That probably explains why I can't attach the file, does it matter what the file is called as long as it's a txt file and should it have anything in it before the ATTEXT command is used?

Link to comment
Share on other sites

Thanks for all your help, this does seem to be more complicated than I thought it would be. I think an easier way would be to just add text into the drawing directly for a BOM.

Link to comment
Share on other sites

That probably explains why I can't attach the file, does it matter what the file is called as long as it's a txt file and should it have anything in it before the ATTEXT command is used?

the template file can be called anything.txt and it needs to have the info in it as pointed out above, the output file that you tell the attext command to make is where the information goes to. I must admit it took me a while to get it right. Just putting text in a drawing is OK for half a dozen items, but I promise you, the time it takes to get bored doing that would be better spent learning the layout of the template file.

Link to comment
Share on other sites

Possibly because you haven't had that many posts up to now, I think you need to have 10 posts before you are allowed to post attachments

 

No limit on number of posts for uploading, only limitations are that attachments need moderator approval until more than 10 posts.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...