This is a Rhino+Grasshopper plugin that aims to provide easy access to Autodesk Platform Services. It requires an authenticated connection to the APIs, so you would need to create your own App on the APS platform, register for the available APIs, and use the App ID and Secret to connect to the Platform Services servers.
This first release of the plugins integrates the new Autodesk Parameter Services into Rhino3D. It provides an interface to sign into the Autodesk Platform Services and query shared parameters available under your account. These parameters can be added to Rhino objects and values can be assigned. Parameter information will be stored as object dictionaries in Rhino 3DM files and will be available to other Rhino APIs. All this functionality is available through:
- APS Parameter Editor in Rhino: From this panel you can connect to APS and access the parameter collections under your account, adding or removing parameters to selected Rhino objects
- Grasshopper Components to connect to APS, and communicate with Parameter Services, querying disciplines, specs, categories, groups, collections, etc.
- Build
- Apply this fix: http://stackoverflow.com/questions/4019466/httplistener-access-denied
- Open Terminal app or
cmd.exe
in Windows - Run
netsh http add urlacl url=http://+:8080/ user=<username>
but replace<username>
with your machine username
- Open Terminal app or
- Add build path to
GrasshopperDeveloperSettings
command in Rhino - Install
*.rhp
plugin inside the build path in Rhino
You can install this plugin from Rhino package manager by running Package Manager command. Make sure the "Include Pre-Releases" checkbox is checked.
Open APS Parameter Editor panel and click on Connect. From the connection dialog choose a method to provide the App information, either by typing in the values or providing the environment variable names that contain the values (you need to setup the environment variables before launching Rhino)
Open Grasshopper, and drop a Construct Connection Info or Construct Connection Info (Env Vars) and feed the required values to the input parameters. Then drop the Connect component from APS panel onto the canvas, and feed the connection info to the component.
Click connect, login using your Autodesk account and "Allow" access
Use the Deconstruct Connection Info component to verify the output Token
parameter contains a Bearer ...
token
Open any Rhino or Grasshopper files under tests/