Show / Hide Table of Contents

    Class IFC2x3

    Inheritance
    object
    IFC2x3
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Model
    Assembly: DesignData.SDS2.Model.dll
    Syntax
    public class IFC2x3

    Methods

    Export(MemberHandleList, ModelViewDefinition, bool, bool, bool, bool, bool, bool, bool, string, bool, bool, bool, bool, double, bool, double, double, double, double)

    Export an IFC2x3 file, returned as a byte array

    Declaration
    public static byte[] Export(MemberHandleList members, ModelViewDefinition modelViewDefinition = ModelViewDefinition.CoordinationView2, bool withHoles = true, bool withBolts = true, bool withWelds = true, bool revitFriendly = false, bool strumisFriendly = false, bool storiesByZoneAndSequence = false, bool exportScheduling = false, string schedulingXML = "", bool withCenterOfMassLocation = true, bool withCustomProperties = true, bool withLogs = true, bool withGrids = true, double gridDistance = 0, bool compress = false, double translateX = 0, double translateY = 0, double translateZ = 0, double rotateCCWAboutZAxis = 0)
    Parameters
    Type Name Description
    MemberHandleList members

    The members to include in this IFC export

    ModelViewDefinition modelViewDefinition

    Can only be CoordinationView2 or EM11SteelFabrication

    bool withHoles

    true to include holes in the IFC

    bool withBolts

    true to include bolts in the IFC

    bool withWelds

    true to include welds in the IFC

    bool revitFriendly

    if true, make modifications to the IFC to aid in importing it with revit

    bool strumisFriendly

    if true, make modifications to the IFC to aid in importing into strumis

    bool storiesByZoneAndSequence

    Export stories by zone and sequence

    bool exportScheduling

    if true, export scheduling info for Synchro. See the schedulingXML parameter to supply necessary information

    string schedulingXML

    if exportScheduling:true, then give a Synchro XML file here

    bool withCenterOfMassLocation

    if true, export the center of mass location. This option is will dramatically increase the time to generate an export.

    bool withCustomProperties

    if true, export custom property information

    bool withLogs

    if true, export logs found under custom properties

    bool withGrids

    if true, export grids

    double gridDistance

    Grid lines, in SDS2, are infinite. This is the distance, outside of the model's bounding box, to cut off grid lines. Only applies if withGrids is true.

    bool compress

    if true, the IFC blob will be a compressed zip file with the IFC in it

    double translateX

    The global translation on X axis to apply to all elements

    double translateY

    The global translation on Y axis to apply to all elements

    double translateZ

    The global translation on Z axis to apply to all elements

    double rotateCCWAboutZAxis

    The rotation of CCW about the Z axis in radians

    Returns
    Type Description
    byte[]
    Remarks

    This requires the ModelLink license feature.

    This function will change the current working directory for the program temporarily. While it's being called the directory will change to SDS2's data directory and then it will be put back before it exits.

    So be very careful calling this in a multi-threaded environment where you may also change the working directory.

    This may print to standard error, this is due to the library SDS2 uses for outputting IFC and is outside of our control.

    Exceptions
    Type Condition
    NotLicensedException

    thrown when the ModelLink license is not available or the current platform does not support IFC export. (Note, all Microsoft Windows systems support IFC export).

    ~IFC2x3()

    Declaration
    protected ~IFC2x3()
    Back to top