Skip to main content
Solved

Is it possible to write to a dwg and fill a custom propertyset?

  • February 19, 2022
  • 8 replies
  • 66 views

bbo
Contributor
Forum|alt.badge.img+3
  • Contributor

I have a template dwg with a property set attached to lines and polylines. When I write a dwg and use that template is it then possible to fille the property set from FME?

Best answer by daveatsafe

bbo wrote:

We use Civil3D And that is als in which the dwg was made.

Thanks. I was able to use the template in Civil3D to create some sample lines to play with. FME can read those property sets with the Civil3D reader, but FME does not currently have a Civil3D writer. It does not seem presently possible to read from or write to those property sets using the AutoCAD or AutoCAD Map3D writers.

One workaround might be to write the attributes to DWG as Extended Entity Data in the FME AutoCAD writer, then use a Dynamo script to move that info into the Property Sets in Civil3D.

View original
Did this help you find an answer to your question?

8 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 22, 2022

Hi @bbo​,

I'm not sure, but I would be happy to find out for you. Would you mind sharing the template file? If you don't want to make it public, you can send it to me directly at dave.campanas@safe.com.


bbo
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 23, 2022

Hi @daveatsafe​ ,

 

I have attached the WB and the template dwg. The source (arcgis portal) I have replaced with a FFS. It would begreat if you would get this to work.

 

 


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 23, 2022

Hi @bbo​,

Thank you for the files. What AutoCAD application are you using: regular AutoCAD, Map3D or Civil3D?


bbo
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 23, 2022
daveatsafe wrote:

Hi @bbo​,

Thank you for the files. What AutoCAD application are you using: regular AutoCAD, Map3D or Civil3D?

We use Civil3D And that is als in which the dwg was made.


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • February 23, 2022
bbo wrote:

We use Civil3D And that is als in which the dwg was made.

Thanks. I was able to use the template in Civil3D to create some sample lines to play with. FME can read those property sets with the Civil3D reader, but FME does not currently have a Civil3D writer. It does not seem presently possible to read from or write to those property sets using the AutoCAD or AutoCAD Map3D writers.

One workaround might be to write the attributes to DWG as Extended Entity Data in the FME AutoCAD writer, then use a Dynamo script to move that info into the Property Sets in Civil3D.


bbo
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 23, 2022
bbo wrote:

We use Civil3D And that is als in which the dwg was made.

Thanks for trying. Is it possible to run the Dynamic script from within FME? Maybe I can get a colleague to write a script for me.​


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 23, 2022
bbo wrote:

We use Civil3D And that is als in which the dwg was made.

Hi @bbo​,

Dynamo is an automated scripting tool for Autodesk applications, so it won't run in FME, just in Civil 3D, Revit and Inventor. It is a visual script like Workbench, but not quite as user friendly.


stijnverlaar
Contributor
Forum|alt.badge.img
  • Contributor
  • January 17, 2023

@daveatsafe​ Is there yet a solution for writing Data Property Sets with Workbench?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings