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

What is the Workbench Scripting/ACT command to locate the centroid of entities in a Named Selection that was generated using a Worksheet?

    • FAQFAQ
      Participant

      The following ACT commands which can be used in WB Meshing to locate the centroid(s) of entities in a NS generated using worksheet. ns=ExtAPI.DataModel.Project.Model.NamedSelections.Children[0] ns.Ids ExtAPI.DataModel.GeoData.GeoEntityById() entity=ExtAPI.DataModel.GeoData.GeoEntityById(id) entity.Centroid