Orca3D Talk!
May 18, 2013, 11:19:12 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
Orca3D Talk!
>
Orca3D Talk!
>
Support
>
Orca3D Rhinoscript Referencing
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Orca3D Rhinoscript Referencing (Read 459 times)
jdubu11
Newbie
Posts: 3
Orca3D Rhinoscript Referencing
«
on:
April 11, 2012, 12:05:11 PM »
Hi, I have a question concerning the names given in Orca3D. When Orca3D generates a hull from the hull assistant, it automatically names the “Hull”, “Deck”, and “Transom”. Is there a way to reference those names in rhinoscript?
The only thing I’ve found is to call the thirty-something digit id code rhino references to each, but that’s not really an option. Any advice you have would be great.
Thanks,
Josh
Logged
lleibman
Sr. Member
Posts: 78
Re: Orca3D Rhinoscript Referencing
«
Reply #1 on:
April 11, 2012, 01:48:41 PM »
Hi Josh,
There are two ways you can make reference to Rhino objects with names in a script.
One is to use the Rhino command "SelName" to select objects by name, e.g. Rhino.Command "SelName Hull". Then you can operate on the hull with commands that use the current selection. Similarly you could use the Rhinoscript method, Rhino.ObjectsByName to find objects with a specific name.
A second is to use the Rhinoscript method, Rhino.ObjectName, to query and objects name and then do something if it matches a specified name.
Hope this is what you are looking for.
Larry
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Orca3D Talk!
-----------------------------
=> Announcements
=> Installation, Configuration & Licensing
=> Support
=> Gallery (post your projects)
=> Tips & Tricks
=> New Feature Requests
=> MAESTRO
Loading...