I’m not 100% sure that I understand what the challenge is here - but if you need to get the text value linked with the polygon you can try and use a PointOnAreaOverlayer to get the address as an attribute? The NeigborFinder is also a good option.
It’s a bit challenging and messy though as often in a CAD drawing the text might lie outside the parcel pointed to with a leader.
I have isolated My problem with the results but I still have a further question.
First off to explain this better:
We have the street number in both GIS (attribute value of parcel) and in AutoCAD Map3d object data, in CAD we have several basemaps one with the polygons for parcels and another that has all the text of our basemaps.
I have isolated the changes between our old cad polygon file and the new GIS polygon data, now what I am trying to do is then take the resulst of the inserts and deletes and then write the inserted text to the right cad layer and then also delete the cad text fields that I no longer need.
It’s not so easy to “update” a CAD file. In saying that FME does support providing a template file when writing out cad data which mean you should be able to keep all your layer names and properties.
@andreaatsafe - do you know if it’s possible to “update” a CAD layer?
I have in the past created a cad layer, that look exactly like it should in cad from gis data, but this is in creating a new cad drawing with a styler and writer, but what I am trying to find out is how to edit an existing cad drawing to add new and or delete text without overwriting the entire drawing, just the spatial text.
Hi @nick_a & @virtualcitymatt I do not believe it is possible to ‘update’ a CAD file like you would with a database. Your best bet would be to use a template file like Matt mentioned, then write out both the existing unchanged data and the new or updated data at the same time. Everything you would like deleted you can omit from the writing process.
Thank you all for your replies, I was hoping since the text was spatial that maybe there was a way to edit it, but alas, it doesn't seem to be. One of the reason I was hoping to edit the parcel text, is that sometimes the editors will move the text that is in the way of our schematics, so just deleting and updating will remove any of their edits and they don't want that to happen. I think what I am going to do is export cad drawings for the deletes and inserts in separate files that they could query in and make the appropriate changes after review to the basemap.