We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
General

General

How can I check the Cell State (e.g. UpToDate, Incomplete, OutOfDate, etc.) in a Workbench Script/Journal?

    • FAQFAQ
      Participant

      To check the Cell State in a Workbench Journal, you can use for example the function GetComponentState(component). The following example illustrates this for the Geometry Cell of the System with the ID “Geom”: system = GetSystem(Name=”Geom”) geometryComponent = system.GetComponent(Name=”Geometry”) componentState = GetComponentState(geometryComponent) print componentState.State Another option is the function GetCellDisplayState(component): system = GetSystem(Name=”Geom”) geometryComponent = system.GetComponent(Name=”Geometry”) cellState = GetCellDisplayState(geometryComponent) print cellState.State