Export and Publish Setup
When objects in a model are connected to their respective process codes, you can use this intelligence in the model when exporting to DWG, LandXML or IFC. For these formats, you can set up multiple combinations of 'Code' and 'Description' found in the classifications, so that, e.g., DWG layer names and LandXML object names are named according to classifications.
Note: DWG does not have the conversion rule to set this up, and accepts only 2 field code groupings separated by a 'Field code delimiter'. For DWG, the first group will be the LayerName. The second group will be the layer's description as shown in the CAD Layer Manager.
Example: Publish To DWG
Publish to DWG
To produce a DWG file with process codes in the layer name, you must start the function Publish to DWG on the Output menu. This functionality is only available here.
The following menu bar appears.
To set up the classifications to be generated in the layer name, you must choose the Use field codes option in the dropdown list below layer standard assignment and then click the cogwheel icon for Settings.
Then you get the following dialog:
In this dialog, you must add the codes and descriptions that should be used to generate the layer name.
Furthermore, it is possible to create a separate string to the layer's name description. See the dialog above, which is an example of the setup of layer names, with a drawing key and object code in the layer name and description in the column layer description.
By clicking Add, you get access to the classifications added in the model. Then you can select each one as part of a layer name.
The layer name of the string “ROW_1:Status Code_S1Preliminary » is string created, as you will see in the preview. You can also add a pre-, or post-fix, for example an underscore "_".
When you have set up the settings dialog, click Save to task.
Lastly click Finish to present the DWG.
Example: To LandXML or IFC
In the same way as for DWG, in LandXML/IFC export you must also set up how the string to be sent to LandXML or IFC should look as to code and description. In the export choose LandXML as the format and then click the cogwheel icon for Settings. In the Settings you are provided access to a setting dialog.
Once you click the cogwheel for settnings, you need to check the box "Use Classification" in order to be able to open classifications option under settings, as it is presented in the following preview under.
The following picture shows one example of how a code and description are combined. This string is later sent to the object name of the object in the LandXML file.
When the string is set up as you want it to, click Save to task and then Choose a rule in the export menu. It is important that you choose the conversion rule «Roadmodelsurfaces with fieldcode name».
Click Select and then OK, so the file will be added in the conversion field export menu.
3. Press OK in the menu for export. The LandXML file is produced. If one reads the file in another application. E.g., Civil3D then objects from the LandXML file come up with names such as those configured in string field codes.
Next topic: Class