Attribute Extraction Issues

Attribute Extraction Issues

liamrobertsSP
Explorer Explorer
1,076 Views
8 Replies
Message 1 of 9

Attribute Extraction Issues

liamrobertsSP
Explorer
Explorer

I am trying to extract information on blocks from a drawing to create an order sheet. Attached is the template I have put together and also a screenshot of the block reference I am trying to take the attributes from. 

 

Once I select the template file to export using there is no option to generate the text file. I just get no further action.

0 Likes
1,077 Views
8 Replies
Replies (8)
Message 2 of 9

maxim_k
Consultant
Consultant

Hi @liamrobertsSP ,

 

I think that the fields which represent block information - BL:NAME BL:LAYER and BL:NUMBER in your case - should be at the beginning of the template file. Attribute fields should follow BL: fields.

For example:

BL:NAME C020000
BL:LAYER C100000
BL:NUMBER C100000
PL202J C010000
S-Code C100000
UNIT_TYPE C010000
POWER C010000

Try to correct the template.

BTW - what do you see in the Command window after you select the Template file?

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 3 of 9

liamrobertsSP
Explorer
Explorer

Thank you, I changed the template and it hasn't worked, unfortunately. I have attached a template I use for coordinate extraction which works as expected when I run it. 

 

I get nothing back at all from the programme once I select the template file (the first one I posted). 

 

The second template attached is the first with the added information I want in this new case. 

0 Likes
Message 4 of 9

liamrobertsSP
Explorer
Explorer

Hello @maxim_k .

 

Thank you, I changed the template and it hasn't worked, unfortunately. I have attached a template I use for coordinate extraction which works as expected when I run it. 

 

I get nothing back at all from the programme once I select the template file (the first one I posted). 

 

The second template attached is the first with the added information I want in this new case. 

0 Likes
Message 5 of 9

maxim_k
Consultant
Consultant

Can you share your block?

I will try to figure out what happens.

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 6 of 9

liamrobertsSP
Explorer
Explorer

Of course, attached below. 

 

Sorry for the delay.

 

 

0 Likes
Message 7 of 9

maxim_k
Consultant
Consultant

@liamrobertsSP ,

 

You attached your drawing in wrong place.

See my answer >>>>HERE<<<<

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 8 of 9

liamrobertsSP
Explorer
Explorer

Sorry @maxim_k that was a different block I am having some other issues on the stretching of (I can't get the attributes tos tay in the middle).

 

The correct block for data extraction is here. 

0 Likes
Message 9 of 9

maxim_k
Consultant
Consultant

Hi @liamrobertsSP ,

 

There is a mistake in your template, in "Block counter".

In your template it is: BL:NUMBER C100000 (C- character data), but should be: BL:NUMBER N100000 (N - numeric data).

That is why I asked what do you see in the command window.

If I use your template, AutoCAD reports in the Command window:

 

** Invalid field specification:
BL:NUMBER C100000

 

If you change "BL:NUMBER C100000" to "BL:NUMBER N100000" - everything works fine.

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes