Re: [topbraid-users] Constructor for type

2024-04-24 Thread Holger Knublauch
Hi Marie, See the comment on dash:Constructor The variable focusNode will hold the named node of the selected type, for example when a constructor is associated with a superclass but the user has pressed New for a subclass. HTH Holger > On 24 Apr 2024, at 3:33 AM, Marie Valadez wrote: > >

Re: [topbraid-users] Constructor for type

2024-04-23 Thread Marie Valadez
Thanks Holger! Appreciate the updates your team has added to the EDG interface. Another question about Constructors. You mention the base type. How does the AI know what the base type is? When selecting to create a new instance, is there a function or variable passed in where it knows what

Re: [topbraid-users] Constructor for type

2024-03-29 Thread Holger Knublauch
Hi Marie, this is a good use case, and I agree selecting the type should work better. For now I don't see work-around and you'll need to wait for 8.0 to have more control over that. For example, I guess the sh:node trick from the previous emails could be used then. But since your scenario

[topbraid-users] Constructor for type

2024-03-28 Thread Marie Valadez
Hello! I am looking at making a constructor that has several parameters for the user to input. One of which is a drop down list to select the type of a class. I am trying to get it to only show a specified root class and its subclasses, similar to what normally appears by default as a class