-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to instantiate optionals #1327
Comments
instantiate_optional = True |
yes but that instatiates all optionals; i don't want all of them though. I just want some specific ones. |
thats currently not possible... |
Delete the unwanted ones afterwards. |
@schroeder- There are like 100 nodes more beeing instaniated than i actually want |
You can make a pr for a extended interface if you want. Otherwise you can copy the code from instantiate and adapt it to your needs. |
modify the instantiate method with another optional parameter (list of str) containing the browsenames of the childs to be instantiated? would be a cool new feature! |
@AndreasHeine I agree |
@schroeder- Can you tell me exactly how to do that? I tried the following, but it didn't work. My programming skills are not very good, yet and it's hard for me to understand the documention perfectly.
|
Started a pr #1328, this is missing a test. |
This is how I instantiate my object in the server. so far so good.
`
instantiate objects in server
but i want to add some optional children of the node type such as variables and properties. I just don't know how to get there.
The text was updated successfully, but these errors were encountered: