Search Results for

    Show / Hide Table of Contents

    Class IfcUnitAssignment

    Inheritance
    System.Object
    PersistEntity
    IfcUnitAssignment
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IIfcUnitAssignment
    IInstantiableEntity
    IIfcUnitAssignment
    IContainsEntityReferences
    IPersistEntity
    IPersist
    System.IEquatable<IfcUnitAssignment>
    IExpressValidatable
    Inherited Members
    PersistEntity._activated
    PersistEntity.Activate()
    PersistEntity.NotifyPropertyChanged(String)
    PersistEntity.SetValue<TProperty>(Action<TProperty>, TProperty, TProperty, String, Int32)
    PersistEntity.Equals(Object)
    PersistEntity.GetHashCode()
    PersistEntity.ToString()
    PersistEntity.EntityLabel
    PersistEntity.Model
    PersistEntity.ModelOf
    PersistEntity.IPersistEntity.Activated
    PersistEntity.IPersistEntity.ExpressType
    PersistEntity.PropertyChanged
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Xbim.Ifc2x3.MeasureResource
    Assembly: Xbim.Ifc2x3.dll
    Syntax
    [ExpressType("IfcUnitAssignment", 245)]
    public class IfcUnitAssignment : PersistEntity, INotifyPropertyChanged, IIfcUnitAssignment, IInstantiableEntity, IIfcUnitAssignment, IContainsEntityReferences, IPersistEntity, IPersist, IEquatable<IfcUnitAssignment>, IExpressValidatable

    Properties

    | Improve this Doc View Source

    AreaUnit

    Declaration
    public IfcNamedUnit AreaUnit { get; }
    Property Value
    Type Description
    IfcNamedUnit
    | Improve this Doc View Source

    LengthUnit

    Declaration
    public IfcNamedUnit LengthUnit { get; }
    Property Value
    Type Description
    IfcNamedUnit
    | Improve this Doc View Source

    LengthUnitName

    Declaration
    public string LengthUnitName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    LengthUnitPower

    Returns the factor to scale units by to convert them to SI millimetres, if they are SI units, returns 1 otherwise

    Declaration
    public double LengthUnitPower { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Units

    Declaration
    [EntityAttribute(1, EntityAttributeState.Mandatory, EntityAttributeType.Set, EntityAttributeType.Class, new int[]{1}, new int[]{-1}, 1)]
    public IItemSet<IfcUnit> Units { get; }
    Property Value
    Type Description
    IItemSet<IfcUnit>
    | Improve this Doc View Source

    VolumeUnit

    Declaration
    public IfcNamedUnit VolumeUnit { get; }
    Property Value
    Type Description
    IfcNamedUnit

    Methods

    | Improve this Doc View Source

    Equals(IfcUnitAssignment)

    Declaration
    public bool Equals(IfcUnitAssignment other)
    Parameters
    Type Name Description
    IfcUnitAssignment other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetUnitFor(IfcPropertySingleValue)

    Declaration
    public IfcNamedUnit GetUnitFor(IfcPropertySingleValue property)
    Parameters
    Type Name Description
    IfcPropertySingleValue property
    Returns
    Type Description
    IfcNamedUnit
    | Improve this Doc View Source

    GetUnitFor(IfcPhysicalSimpleQuantity)

    Declaration
    public IfcNamedUnit GetUnitFor(IfcPhysicalSimpleQuantity quantity)
    Parameters
    Type Name Description
    IfcPhysicalSimpleQuantity quantity
    Returns
    Type Description
    IfcNamedUnit
    | Improve this Doc View Source

    Parse(Int32, IPropertyValue, Int32[])

    Declaration
    public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
    Parameters
    Type Name Description
    System.Int32 propIndex
    IPropertyValue value
    System.Int32[] nestedIndex
    Overrides
    PersistEntity.Parse(Int32, IPropertyValue, Int32[])
    | Improve this Doc View Source

    Power(IfcUnitEnum)

    Declaration
    public double Power(IfcUnitEnum unitType)
    Parameters
    Type Name Description
    IfcUnitEnum unitType
    Returns
    Type Description
    System.Double
    | Improve this Doc View Source

    SetOrChangeConversionUnit(IfcUnitEnum, ConversionBasedUnit)

    Declaration
    public void SetOrChangeConversionUnit(IfcUnitEnum unitType, ConversionBasedUnit unit)
    Parameters
    Type Name Description
    IfcUnitEnum unitType
    ConversionBasedUnit unit
    | Improve this Doc View Source

    SetOrChangeSiUnit(IfcUnitEnum, IfcSIUnitName, Nullable<IfcSIPrefix>)

    Declaration
    public void SetOrChangeSiUnit(IfcUnitEnum unitType, IfcSIUnitName siUnitName, IfcSIPrefix? siUnitPrefix)
    Parameters
    Type Name Description
    IfcUnitEnum unitType
    IfcSIUnitName siUnitName
    System.Nullable<IfcSIPrefix> siUnitPrefix
    | Improve this Doc View Source

    SetSiLengthUnits(IfcSIUnitName, Nullable<IfcSIPrefix>)

    Sets the Length Unit to be SIUnit and SIPrefix, returns false if the units are not SI

    Declaration
    public bool SetSiLengthUnits(IfcSIUnitName siUnitName, IfcSIPrefix? siPrefix)
    Parameters
    Type Name Description
    IfcSIUnitName siUnitName
    System.Nullable<IfcSIPrefix> siPrefix
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Validate()

    Declaration
    public virtual IEnumerable<ValidationResult> Validate()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ValidationResult>
    | Improve this Doc View Source

    ValidateClause(IfcUnitAssignment.IfcUnitAssignmentClause)

    Tests the express where-clause specified in param 'clause'

    Declaration
    public bool ValidateClause(IfcUnitAssignment.IfcUnitAssignmentClause clause)
    Parameters
    Type Name Description
    IfcUnitAssignment.IfcUnitAssignmentClause clause

    The express clause to test

    Returns
    Type Description
    System.Boolean

    true if the clause is satisfied.

    Explicit Interface Implementations

    | Improve this Doc View Source

    IContainsEntityReferences.References

    Declaration
    IEnumerable<IPersistEntity> IContainsEntityReferences.References { get; }
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IPersistEntity>
    | Improve this Doc View Source

    IIfcUnitAssignment.Units

    Declaration
    IItemSet<IIfcUnit> IIfcUnitAssignment.Units { get; }
    Returns
    Type Description
    IItemSet<IIfcUnit>
    | Improve this Doc View Source

    IIfcUnitAssignment.Units

    Declaration
    [CrossSchemaAttribute(typeof(IIfcUnitAssignment), 1)]
    IItemSet<IIfcUnit> IIfcUnitAssignment.Units { get; }
    Returns
    Type Description
    IItemSet<IIfcUnit>

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IIfcUnitAssignment
    IInstantiableEntity
    IIfcUnitAssignment
    IContainsEntityReferences
    IPersistEntity
    IPersist
    System.IEquatable<T>
    IExpressValidatable
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 xbim