Performance issue with Custom Labels

Home Forums Problems and solutions in GDL Documentation elements, text handling Performance issue with Custom Labels

This topic contains 1 reply, has 1 voice, and was last updated by  Denny Wong 1 week, 1 day ago.

  • Author
    Posts
  • #4222

    Denny Wong
    Participant

    Hi all,

    I am working on a labelling system that uses a single macro across Zone Stamps, Door labels, Window Labels and generic Labels attached to objects. So far it is working very well, except that I have a performance issue with the generic Labels. Whenever I grab one of the editable hotspots or even just move the label, i.e. during GLOB_FEEDBACK_MODE, it becomes so tediously slow that I can’t effectively work on my project.

    This curiously however, does not happen with the Zones, Doors and Windows, even if they are just the same empty shells doing a “call ‘my_label.gsm’ parameters all” from the Master Script.

    For your information:
    – I have a GLOB_FEEDBACK_MODE set in the label, drawing a single rect2 based on TEXTBLOCK_INFOs.
    – my labels are attached to walls, showing 1x IFC Property and 2x Wall parameters.
    – We are still on AC19, OSX.

    My feeling is that AC is caching the 2D symbols of all the zone/door/wido stamps but not the labels, meaning that it gets redrawn a million times whenever I try to move it…?

    I can provide a PLA if that helps.

    Many thanks in advance.

    Kind regards,

    Denny

    Bond Bryan Architects, Westerham, UK

  • #4225

    Denny Wong
    Participant

    I have come to the realisation that it is when the labels associate with Walls that have this problem. If I ping the same label at a Window, it will behave just fine.

    Bond Bryan Architects, Westerham, UK

You must be logged in to reply to this topic.