Skip to main content
Solved

Issues writing ProxyType to IfcProxy


ekkischeffler
Contributor
Forum|alt.badge.img+5

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.

View original
Did this help you find an answer to your question?

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • 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+5
  • Author
  • Contributor
  • May 19, 2021
daveatsafe wrote:

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings