I am trying to select my VA objects by name (native to rhino), using SelName.
The use case for this is when I am naming my door and windows with each of their own names, then being able to easily search for a specific one by name using the native rhino command SelName.
I have verified that my door/windows have been named correctly, but when I run the command, VA objects with names do not show up in the list.
Hi @Type0_User_1 the _SelName command should work with VisualARQ objects. I’ve just tested it and worked fine. Can you share an sample model where this doesn’t work? What Rhino and VisualARQ versions are you using?
Hi @Type0_User_1 That Rhino version is a “Release Candidate” version, so it may have errors or compatibility issues with plug-ins. Please try this with the public SR 23 version and let me know if the problem persists.
@Type0_User_1 I’ve tried your example in the SR23 and it doesn’t work for me either. Strangely, it worked fine in other files. I’ll report this to the development team and get back to you when it’s fixed.
Glad to see that its working now after I unlocked my layers, but this is a strange behavior indeed.
I am not sure if this is related, but I had also reported a similar issue (likely due to the same reason) as a separate case:
Similarly, the script works now that the layers are unlocked. For some reason, rs.GetObject() does not allow selection of the VA objects if they are on the locked layers (or maybe this is the intended)(but strangely you can select those objects directly in the model, if they are locked, as you mentioned).
Hi @Type0_User_1 yes, both issues are related to the fact the objects involved are in a locked layer. They should not be selectable, so we will investigate why this happens and fix any possible wrong behavior.