Set the attributes
autocad_entity = autocad_insert
autocad_block_name = your name of the block
Set the attributes
autocad_entity = autocad_insert
autocad_block_name = your name of the block
I don't think I'm doing this right, my output still produces an empty CAD file.
My solution is old school without DwgStyler.
Your block Name is "Basic Point"?
My solution is old school without DwgStyler.
Your block Name is "Basic Point"?
Yeap custom circle with a hatch fill in a separate DWG file.
What does your solution look like?
Are you using the AttributeCreator?
My solution is old school without DwgStyler.
Your block Name is "Basic Point"?
Direct conversion without any transformersUsing AttributeCreator, which seems to get rid of my points from my GDB (Sorry it didn't post earlier)
My solution is old school without DwgStyler.
Your block Name is "Basic Point"?
I realize I was using the wrong thing for my value for the autocad_block_name and I've updated it, but it still doesn't seem to work:
1) It's not necessary to use AttributeCreator AND DwgStyler. The DwgStyler set the attributes. Use the DwgStyler only.
2) If the destination does not show a block, then the template DWG-files has no block with the name.
Your template file with the name "BasicPoint.dwg" has a block inside named "BasicPoint"??
3) Help to DwgStyler: DWG/DXF Template File
This optional parameter is used to specify the name of an existing DWG, DXF, or DWT file that will be used by the transformer as a source for block names, linetypes, and text shape names. It is not used by the actual DWG/DXF writer – the template file must be specified in the writer’s parameters and should contain the same block names and linetypes as the file specified here. Usually the same file will be used in both the transformer and the writer.
If no blocks or linetypes will be used, this parameter can be left blank.
I'm using only the param Template File from the writer. This works.
1) It's not necessary to use AttributeCreator AND DwgStyler. The DwgStyler set the attributes. Use the DwgStyler only.
2) If the destination does not show a block, then the template DWG-files has no block with the name.
Your template file with the name "BasicPoint.dwg" has a block inside named "BasicPoint"??
3) Help to DwgStyler: DWG/DXF Template File
This optional parameter is used to specify the name of an existing DWG, DXF, or DWT file that will be used by the transformer as a source for block names, linetypes, and text shape names. It is not used by the actual DWG/DXF writer – the template file must be specified in the writer’s parameters and should contain the same block names and linetypes as the file specified here. Usually the same file will be used in both the transformer and the writer.
If no blocks or linetypes will be used, this parameter can be left blank.
I'm using only the param Template File from the writer. This works.
Hi @tomfriedl, I added my template file into my parameters for my writer and I'm able to get my points showing up as blocks in CAD now, thank you! Do you by any chance know how I can use FME workbench to color the blocks?
As you can see the color data gets passed to the block but it references color from the layer for some reason?
What's the definition of your color in AutoCad (Blockeditor)? I'think you must set the color to "ByBlock".
What's the definition of your color in AutoCad (Blockeditor)? I'think you must set the color to "ByBlock".
Selected all my points/blocks and switched to ByBlock and they're still red :/
Made sure to update my block too but they still show up the same color even though I set it's color to be ByBlock and reran the entire workspace
What's the definition of your color in AutoCad (Blockeditor)? I'think you must set the color to "ByBlock".
Hi @tomfriedl , just wanted to follow up, figured out that my block having a hatch fill inside of the circle prevents it from getting colors from DWG styler, so I ended up using a dot symbol in text as my template instead and I got results I wanted. A plain old circle and a text dot works.