Skip to main content
  • 10000+ Posts
  • 53,427 Replies
10000+ Posts
I am trying to expose IFC attributes based on the ifc_property_set collection of names. The end result should be a feature with only the ifc_property_set attributes exposed on the feature.

As the IFC property sets are configured in other systems i do not have prior knowledge of the attributes to expose these for the writers. I need to be able to feature attribute cleanup so that i can expose these attribute collections without prior knowledge of the feature information.I have successfully exposed the attributes from the collections as a feature attribute but these are still hidden from the writer. I am able to interrogate each feature and build a picture of those attributes in Python but cannot seem to expose these programmatically.  def processFeature(feature):    print("**Processing feature**")    print(feature.getAttribute('ifc_property_set'))    #ifcpropertieslist = feature.getAttribute('ifc_properties')    print(feature.getAllAttributeNames())    i=0    attrNames=feature.getAllAttributeNames()    elementCount = int(feature.getAttribute("_element_count"))    print(elementCount)    e

Badge Winners

  • Webinar Watcher (Bronze)
    a.meshkathas earned the badge Webinar Watcher (Bronze)
  • FME Certified Professional
    souryanahas earned the badge FME Certified Professional
  • FME Form Basic Training
    nielswhas earned the badge FME Form Basic Training
  • FME Form Advanced Training
    markbhhas earned the badge FME Form Advanced Training
  • FME Form Basic Training
    nvgeogramahas earned the badge FME Form Basic Training
Show all badges

Community Stats

32,504
Posts
123,456
Replies
40,703
Members