Log In   View a printable version of the current page.
Set Project Context (FP)
Added by Janice Wix, last edited by Janice Wix on Feb 26, 2007  (view change)
Labels: 
(None)


Set Project Context

Overview

The project context establishes a series of defaults for a model all based around the single definition of a project. An IFC model requires that there is one and only one specification of project. This may be a construction project but it does not have to be; the intention is simply to provide the reference framework for all other information within the model and for the exchange and sharing of information within the model.
The project context establishes:

  • the name of the project and, optionally, the phase of work of the project
  • the default units used
  • the geometric representation context

Results

Context information for the project is defined.

Description Entity/Pset/Functional Part MAN REC OPT
Assert the globally unique identifier for the project IfcProject.GlobalId::IfcGloballyUniqueId    
Apply the owner history of the project
(inherited from IfcRoot.OwnerHistory)
IfcProject.OwnerHistory::fp_apply_owner_history    
Set the name of the project.
This is the name by which the project will be generally identified (inherited from IfcRoot.Name).
The IFC model considers this attribute to be mandatory through the WHERE rule
IfcProject.Name::IfcLabel
(inherited from IfcRoot.Name)
   
Assign the default set of units used IfcProjectName.UnitsInContext::fp_assign_unit    
Establish the representation contexts in which information will be defined. Several representation contexts can be defined for a project and consequently, each context should be identifiable.
Presently, only geometric representation contexts are supported. Typically, it is anticipated that only one representation context will be defined for the project to give the overall defaults.
IfcProjectName.RepresentationContexts::fp_set_geometric_representation_context    
Set a long name for the project.
This is for reference purposes.
IfcProject.LongName::IfcLabel    
Provide a project description
This is an extended description for the project (inherited from IfcRoot.Description) that further qualifies the project name.A description
IfcProject.Description::IfcText
(inherited from IfcRoot.Description)
   
Set the current stage or phase of the project.
Names of phases/stages should be agreed. It is recommended that stage names given in the Exchange Requirements within the IDM should be used for reference.
IfcProject.Phase::IfcLabel    

IFC Entities Required

  • IfcRoot
  • IfcObject
  • IfcProject

IFC Datatypes Required

  • IfcGloballyUniqueId
  • IfcLabel
  • IfcText

IFC Functions Required

  • -

IDM Functional Parts Required

  • fp_apply_owner_history
  • fp_assign_unit
  • fp_set_geometric_representation_context

EXPRESS-G

EXPRESS Schema

SCHEMA FP_SET_PROJECT_CONTEXT;

  TYPE IfcGloballyIniqueId = STRING (22) FIXED;
  END_TYPE;

  TYPE IfcLabel = STRING;
  END_TYPE;

  TYPE IfcText = STRING;
  END_TYPE;

  ENTITY IfcObject
    ABSTRACT SUPERTYPE
    SUBTYPE OF(IfcRoot);
      ObjectType : OPTIONAL IfcLabel;
    WHERE
      WR1 : SIZEOF(QUERY(temp <* IsDefinedBy | 'IFC2X2_FINAL.IFCRELDEFINESBYTYPE' IN TYPEOF(temp))) <= 1;
  END_ENTITY;

  ENTITY IfcRoot
    ABSTRACT SUPERTYPE;
      GlobalId     : IfcGloballyIniqueId;
      OwnerHistory : fp_apply_owner_history;
      Name         : OPTIONAL IfcLabel;
      Description  : OPTIONAL IfcText;
    UNIQUE
      UR1 : GlobalId;
  END_ENTITY;

  ENTITY fp_apply_owner_history;
  END_ENTITY;

  ENTITY IfcProject
    SUBTYPE OF(IfcObject);
      LongName               : OPTIONAL IfcLabel;
      Phase                  : OPTIONAL IfcLabel;
      RepresentationContexts : SET [1:?] OF fp_set_geometric_representation_context;
      UnitsInContext         : fp_assign_unit;
    WHERE
      WR1 : EXISTS(SELF\IfcRoot.Name);
  END_ENTITY;

  ENTITY fp_assign_unit;
  END_ENTITY;

  ENTITY fp_set_geometric_representation_context;
  END_ENTITY;

END_SCHEMA;

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.1.3 Build:#408 Jan 23, 2006) - Bug/feature request - Contact Administrators