XML control tags in property for ACT extensions

Options
BenHett
BenHett Member Posts: 4
First Anniversary First Comment
**

Is there a list of property controls somewhere for reference. The XML documentation doesn't have a list. I looked for about 30 minutes on the forum and examples.
I know of "float", "string", "select" for lists, "scoping" for geometry? Is there others.

I would like a few different controls.
1. I would like to pick a coordinate system. I think the way to do this is by making a dynamic pulldown with select group. Is there an example of how to do this?
2. I would like to pick a vertex and have it populate a radial location. But I would like it to be able to be typed in manually too. Is there an example of how to do this?
3.

Comments

  • Ben Klinkhammer
    Ben Klinkhammer Member, Employee Posts: 7
    First Anniversary Name Dropper First Comment
    ✭✭✭
    edited June 24

    I'm having the same problem and was filing a defect on it for better documentation.
    I found the following:

    control="select"
    if using this option the user should also specify a default option like default="Yes" and it should follow with an attributes with a list of options like:

    Example: (greater than/less than characters are removed below)
    property name="Question" caption="Question" control="select" default="Yes"
    attributes options="Yes,No" /
    /property

    control="geometry_selection"
    if using this option the user can specify what kind of geometry can be selected using an attributes selection_filter, which can be "vertex", "edge", "face", "body" or a combination of these like "edge|face|body"

    Example: (greater than/less than characters are removed below)
    property name="2ptsel" caption="2 pt selection" control="geometry_selection"
    attributes selection_filter="vertex" /
    /property

    control="select" class="templates.select.SelectCoordinateSystem
    if using this option the user can get a list of coordinate systems.

    Example: (greater than/less than characters are removed below)
    property name="CS" caption="Orientation" control="select" class="templates.select.SelectCoordinateSystem"
      attributes type_filter="cartesian" /
    /property

    I'm looking for other options like:

    • Is there any way to select locations from geometry hit selections?
    • Is there a way to get a list of named selections?