Autodesk Revit Writer Parameters
A template file is a Revit file that will be used as the starting point for the Revit writer. This option allows you to define the template file by entering a template filename or browsing to a file location.
The writer will open the template file, write features to it, and save it as the target file during a translation.
When checked, this parameter allows you to specify a directory that contains Revit Family files (.rfa).
When writing to a file, FME will load any families that it finds in the specified folder into the output file before doing any other writing.
Writing Family Instances
The Revit writer will take oriented point features that it receives and attempt to create instances of loaded families that it finds in the specified template file.
The writer will use several attribute values from the feature to create the family instance, and will use the feature’s point geometry as the origin point for the instance. The created family instance will be rotated based on the orientation of the point geometry.
Please see the relevant attributes below:
|
Attribute/Trait Name |
Required/Optional |
Contents |
|---|---|---|
|
Family |
Required |
Specifies which Revit family the instance should be. |
|
FamilyType |
Required |
Specifies which type within the specified Revit family that the instance should be. |
|
StructuralType |
Optional |
Specifies the Structural Type of the created family instance. If this attribute is not provided, the writer will default to NonStructural. |
For added convenience when writing family instances, consider using the RevitStyler transformer.
Spatial
Coordinate systems may be extracted from input feature data sources, may come predefined with FME, or may be user-defined. FME allows different output and input coordinate systems, and performs the required coordinate conversions when necessary.
If a coordinate system is specified in both the source format and the workspace, the coordinate system in the workspace is used. The coordinate system specified in the source format is not used, and a warning is logged. If a source coordinate system is not specified in the workspace and the format or system does not store coordinate system information, then the coordinate system is not set for the features that are read.
If a destination coordinate system is set and the feature has been tagged with a coordinate system, then a coordinate system conversion is performed to put the feature into the destination system. This happens right before the feature enters into the writer.
If the destination coordinate system was not set, then the features are written out in their original coordinate system.
If a destination coordinate system is set, but the source coordinate system was not specified in the workspace or stored in the source format, then no conversion is performed. The features are simply tagged with the output system name before being written to the output dataset.
For systems that know their coordinate system, the Coordinate System field will display Read from Source and FME will read the coordinate system from the source dataset. For most other input sources, the field will display Unknown (which simply means that FME will use default values). In most cases, the default value is all you'll need to perform the translation.
You can always choose to override the defaults and choose a new coordinate system. Select More Coordinate Systems from the drop-down menu to open the Coordinate System Gallery.
Changing a Reprojection
To perform a reprojection, FME typically uses the CS-MAP reprojection engine, which includes definitions for thousands of coordinate systems, with a large variety of projections, datums, ellipsoids, and units. However, GIS applications have slightly different algorithms for reprojecting data between different coordinate systems. To ensure that the data FME writes matches exactly to your existing data, you can use the reprojection engine from a different application.
To change the reprojection engine, Select Workspace Parameters > Spatial > Reprojection Engine. In the example shown, you can select Esri (but the selection here depends on your installed applications):
- The coordinate systems file coordsys.db in the FME installation folder contains the names and descriptions of all predefined coordinate systems.
- Some users may wish to use coordinate systems that do not ship with FME, and in those cases, FME also supports custom coordinate systems.
- Learn more about Working with Coordinate Systems in FME.