Skip to main content
Solved

Issues writing ProxyType to IfcProxy

  • May 13, 2021
  • 2 replies
  • 21 views

ekkischeffler
Contributor
Forum|alt.badge.img+7

I'm writing and IFC file and I am writing objects into IfcProxy as there's no other fitting IFC Type at the moment. To better define the type, I am using the default ProxyType attribute.

 

When I write ProxyType as attribute in FME, the IFC file breaks. I can see the information added in the file but apparently the syntax is wrong. The FME output looks like this:

#674=IFCPROXY('b4I2bLVTRhe0Uu99isXLTw',#24,'Stone | CCC','Wastewater asset ID: cac582d1-373d-4ff8-bada-9727e139562a',$,#673,#672,.Sewer.,$);

In this case ".Sewer." is the ProxyType value. Then I change the IFC file to contain this instead:

#674=IFCPROXY('b4I2bLVTRhe0Uu99isXLTw',#24,'Stone | CCC','Wastewater asset ID: cac582d1-373d-4ff8-bada-9727e139562a',$,#673,#672,'Sewer',$);

After this change (replacing . with ') the IFC file works and the ProxyType information can be read.

 

Is this a bug or a mistake on my side?

Best answer by daveatsafe

Hi @ekkischeffler​ ,

I don't think you can use the value of 'Sewer' for ProxyType. According to the IFC specifications, the ProxyType of an IfcProxy feature is an enumeration, and should be one of the following values:

  • PRODUCT
  • PROCESS
  • CONTROL
  • RESOURCE
  • ACTOR
  • GROUP
  • PROJECT
  • NOTDEFINED

Please try using one of the values above, and see if the results are valid.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

daveatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • Best Answer
  • May 14, 2021

Hi @ekkischeffler​ ,

I don't think you can use the value of 'Sewer' for ProxyType. According to the IFC specifications, the ProxyType of an IfcProxy feature is an enumeration, and should be one of the following values:

  • PRODUCT
  • PROCESS
  • CONTROL
  • RESOURCE
  • ACTOR
  • GROUP
  • PROJECT
  • NOTDEFINED

Please try using one of the values above, and see if the results are valid.


ekkischeffler
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • May 19, 2021

Hi @ekkischeffler​ ,

I don't think you can use the value of 'Sewer' for ProxyType. According to the IFC specifications, the ProxyType of an IfcProxy feature is an enumeration, and should be one of the following values:

  • PRODUCT
  • PROCESS
  • CONTROL
  • RESOURCE
  • ACTOR
  • GROUP
  • PROJECT
  • NOTDEFINED

Please try using one of the values above, and see if the results are valid.

Thanks very much @daveatsafe​ , that solved it. I should have thought of that!