Profiles shown in labels

Tagged: , , ,

Viewing 1 reply thread
  • Author
    • #4343
      Joachim Sühlo

      Is it possible to create a label, that reads the Profile from its parent (Wall, Column, Beam).
      Yes, I can create one manually and see that the Profile Name is build in 2D from the Property GUID,
      e.g. “<PROPERTY-EAB6C4F7-A51F-4C13-BDBD-A72D4EFE9EC6>”.
      But is it also possible to use this value to show a 2D-Section of the profile in the placed label?
      Maybe this Autotext Style cannot be used in the script
      like any other Autotext as usual. But maybe there is anaother way?

      GDL Object Developer
      MAC OSx 10.14

    • #4344
      Péter Baksa


      use parameters ac_wall_profile_name, ac_colu_profile_name, ac_beam_profile_name in the label to get the name of the composite or profile attribute.

      (You could also use the globals WALL_COMPS_NAME, COLU_PROFILE_NAME, BEAM_PROFILE_NAME. For walls WALL_COMPS_NAME returns the composite name too, so that can go wrong if there exists a profile and a composite with the same name.)

      Use that string with profile REQUESTs (“Profile_components”, “Profile_default_boundingbox”, “Profile_default_geometry”, “Profile_component_info”) to get the profile geometry, and draw what you’d like. You can only get the default profile geometry, profile offset modifiers currently aren’t accessible to GDL.

      Péter Baksa
      Library Platform, Software Engineer

Viewing 1 reply thread
  • The forum ‘Informations from the environment’ is closed to new topics and replies.