salut Pierre
I don't know if I understand you correctly. You want to read an existing dxf 
that contains blocks. you want the names of those blocks, correct? 
I always do this with my CAD. if you want, you can send me a dxf an I copy you 
screen shots of the block and its name.
with fme I would try the following steps for a quick impression of the blocks:
1. in the feature type properties of your source dxf change to the format 
attribute types tab and activate the attribute "autocad_block_name". 
2. direct the data to a tester with the test autocad_block_name != "" and 
3. then to the visualizer. there you take the i-tool and click on the blocks to 
read their names in the attribute list.
 
greetings
urs

________________________________

Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von MUCKENSTURM 
Pierre
Gesendet: Montag, 21. Mai 2007 09:11
An: [email protected]
Betreff: RE: [fme] ACAD : effective name



Salut Urs,
 
In fact, this is mostly the ACAD reader which cause problems. I can't read a 
DXF file and be sure to obtain the effective name of blocks.
When I look at my DXF with notepad, I see the description of my block with 
effective name and the insertion of my block with blockname such as *Uxxxx. But 
I can't see how is bound the insertion and the definition.
 
Thanks in advance,
 
Pierre Muckensturm
Service de gestion des Données Urbaines
Direction Logistique et Moyens Généraux
REIMSMetropole
36 rue de Mars
51100 REIMS
FRANCE
03 26 77 73 98

________________________________

De : [email protected] [mailto:[EMAIL PROTECTED] De la part de Zimmermann Urs
Envoyé : mercredi 16 mai 2007 07:21
À : [email protected]
Objet : AW: [fme] ACAD : effective name


salut pierre
I learnd that the acad writer writes complex polygones such as donut polygones 
to an autocad block and names those blocks dynamically starting with 1: 
FMEBLOCK1, FMEBLOCK2, ...
if you look at the resulting DXF with a text editor you see that DXF uses pairs 
of numbers:
- the first number is a group code that describes the meaning of the following 
number.
- the second number is the data.
for block names, the group code is 2, followed by the block name
 
I paste a few lines of an dxf where you can see the block names
hope this helps
urs
 
...
332
330
233
100
AcDbSymbolTableRecord
100
AcDbBlockTableRecord
  2
FMEBLOCK1
  0
BLOCK_RECORD
  5
34B
330
233
100
AcDbSymbolTableRecord
100
AcDbBlockTableRecord
  2
FMEBLOCK2
  0
BLOCK_RECORD
  5
354
330
233
100
AcDbSymbolTableRecord
100
AcDbBlockTableRecord
  2
FMEBLOCK3
  0
BLOCK_RECORD
  5
35E
330
233
100
AcDbSymbolTableRecord
100
AcDbBlockTableRecord
  2
FMEBLOCK4
  0
BLOCK_RECORD
  5
367 
...

________________________________

Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von MUCKENSTURM 
Pierre
Gesendet: Dienstag, 15. Mai 2007 17:33
An: [email protected]
Betreff: [fme] ACAD : effective name



Hi, 
How do I get the effective name of a "dynamique" autocad_block ? I only have 
block_name attribute. 
Thanks in advance
 
Pierre Muckensturm
Service de gestion des Données Urbaines
Direction Logistique et Moyens Généraux
REIMSMetropole
36 rue de Mars
51100 REIMS
FRANCE

*** Unser Email-Content-Scanner hat einen unerlaubten Inhalt oder einen Virus 
in 
dem an Sie adressierten Email festgestellt. Der 
Virus oder unerlaubte Inhalt wurde aus dem Email entfernt. Stadt Chur, 
Amt für Telematik 
***
\HTML Active Content:   Found invalid IMG Tag, Found Web-beacon, Object 
Removed: 1 'img'


 
*** Unser Email-Content-Scanner hat einen unerlaubten Inhalt oder einen Virus 
in 
dem an Sie adressierten Email festgestellt. Der 
Virus oder unerlaubte Inhalt wurde aus dem Email entfernt. Stadt Chur, 
Amt für Telematik 
***
\HTML Active Content:   Found invalid IMG Tag, Found Web-beacon, Object 
Removed: 1 'img'

Reply via email to