Skip to main content
Solved

How to handle when there are different custom properties for each IFC?


bskim
Participant
Forum|alt.badge.img
  • Participant

HI.

 

Do I still have to manually input using the AttributeExposer transformer, like the answer to the question below?

 

https://community.safe.com/s/question/0D54Q000080hcshSAA/problem-ifc-reading-user-attributes

 

What should I do when a user-defined property exists for each IFC file in the way that the fmw file runs FME Application in the shell and operates?

 

please answer about my question.

 

Regards,

Bongsup Kim​

Best answer by daveatsafe

bskim wrote:

Hi @daveatsafe ,​

 

Thank you for the reply.

By the way, the question is whether there is a way to automatically feature caching when running in the shell, not through the workbench.

 

Best Regards,

Bongsup Kim

Hi @bskim​,

The attributes are always on the features - the AttributeExposer just shows them to you in Workbench. If you want to propagate the different property sets to the output feature when running in the shell, I recommend using the SchemaScanner transformer to generate a schema from the source features, then set the output writer to dynamic mode, using the schema feature to set the output schema.

Screen Shot 2023-07-11 at 10.31.15 AM

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

7 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • July 5, 2023

Hi @bskim​,

You still need to use the AttributeExposer after extracting the IFC property sets with the GeometryPropertyExtractor, but newer versions of FME have made this much easier, using Feature Caching.

  • In Workbench, choose Run from the top menu, then ensure that Enable Feature Caching is highlighted.
  • Add a new AttributeExposer and connect it where desired, then run the workspace to populate the caches, ignoring the incomplete transformers warning.
  • Edit the AttributeExposer, then click the Import button at the bottom and choose From Feature Cache. A dialog will come up showing all the available attributes on the cached features. I generally choose Select All, then Import.
  • Click OK to save the AttributeExposer settings.

 


bskim
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • July 7, 2023

Hi @daveatsafe ,​

 

Thank you for the reply.

By the way, the question is whether there is a way to automatically feature caching when running in the shell, not through the workbench.

 

Best Regards,

Bongsup Kim


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • Best Answer
  • July 11, 2023
bskim wrote:

Hi @daveatsafe ,​

 

Thank you for the reply.

By the way, the question is whether there is a way to automatically feature caching when running in the shell, not through the workbench.

 

Best Regards,

Bongsup Kim

Hi @bskim​,

The attributes are always on the features - the AttributeExposer just shows them to you in Workbench. If you want to propagate the different property sets to the output feature when running in the shell, I recommend using the SchemaScanner transformer to generate a schema from the source features, then set the output writer to dynamic mode, using the schema feature to set the output schema.

Screen Shot 2023-07-11 at 10.31.15 AM


bskim
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • July 13, 2023

Hi @daveatsafe

 

Thank you for the reply.

I don't understand the answer you gave to solve the problem.

May I ask for an answer based on the attached fmw?

 

Best Regards,

Bongsup Kim


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • July 13, 2023
bskim wrote:

Hi @daveatsafe

 

Thank you for the reply.

I don't understand the answer you gave to solve the problem.

May I ask for an answer based on the attached fmw?

 

Best Regards,

Bongsup Kim

Update workspace for dynamic output.

 


bskim
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • July 14, 2023
daveatsafe wrote:

Update workspace for dynamic output.

 

Hi @daveatsafe​ 

I remain deeply grateful for what you have done.​

​Best of luck for your future!

 

Best Regards,

Bongsup Kim


bskim
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • August 29, 2023

Hi @daveatsafe (Safer)​ 

 

There is a problem that material files are not created intermittently when converting IFC files to OBJ.

This happens about once or twice out of 10 attempts.

No exact reproduction pattern was found.

 

Best Regards,

Bongsup Kim


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