i'm trying to translate a CAD Model into a GIS database, and i want to copy the autocad_color, autocad_resolve_linetype and autocad_lineweight. For the last one i can't copy the filed attributes. I only get -1 (by layer) or -3)by default) and i need 25, like it is in the cad file. I tried to expose autocad_layer_lineweight but with no succes. Anyone have any ideea on how to fix this?
What does the FME Data Inspector show for those attributes? Could it be that the linewidth is actually set to 25 by layer in the template and all the features then use the bylayer option?
Is -1 and line type is by the layer. Thing is that FME dosent read the cad files with all its fileds and attributes, like is displayed in Arcmap.
Is -1 and line type is by the layer. Thing is that FME dosent read the cad files with all its fileds and attributes, like is displayed in Arcmap.
So to be sure, you have exposed all three attributes and even in data inspector, the exposed values are different from what you see in autocad? But in ArMap is correct again?
So to be sure, you have exposed all three attributes and even in data inspector, the exposed values are different from what you see in autocad? But in ArMap is correct again?
Which version of FME are you using? Have you tried setting the Store Layer Properties on Features parameter to yes?
Which version of FME are you using? Have you tried setting the Store Layer Properties on Features parameter to yes?
As itay suggests, try the 'store layer properties on features parameter' if you have not done this yet.
Otherwise there is always another workaround. Although it is not that pretty, you could set the attribute value manually to 25.
As i said , it was turned to yes, so if is not working to copy the attributes automatically is pointless to put the values manually since one CAD layer can have different line weights in the same column. I still dont understand why FME dosent read within the CAD file all the columns. When inspecting the file is missing most of its attributes.
As i said , it was turned to yes, so if is not working to copy the attributes automatically is pointless to put the values manually since one CAD layer can have different line weights in the same column. I still dont understand why FME dosent read within the CAD file all the columns. When inspecting the file is missing most of its attributes.
In the inspector, in the column autocad_layer_lineweight the value is -1 or -3 dependig of the layer. So exposing the attributes, copy and translate everything in a gdb. , the value will be -1 or -3. Opening the original cad file in ArcMap in the column LineWt the value is 25. I don't understand why the FME reads -1 instead of the actual value.
In the inspector, in the column autocad_layer_lineweight the value is -1 or -3 dependig of the layer. So exposing the attributes, copy and translate everything in a gdb. , the value will be -1 or -3. Opening the original cad file in ArcMap in the column LineWt the value is 25. I don't understand why the FME reads -1 instead of the actual value.
In AutoCAD the value is given by the layer, so that's why is -1. Stranhe thing is that in ArcMap The values is different