1. Description
This component is responsible for the Get Method of the Civil NX API. It returns the API's database for the information you want to query in Civil NX.
Therefore, similar to using the API, you can input the End Point excluding "/db/" in the URL to fetch the data you want in JSON format.
For example, the API for Section is {{BaseURL}}/db/sect. Here, you can input the endpoint excluding "/db/", so you would input "sect" to retrieve the information. The same method applies to other functionalities as well.
2. Grasshopper Path
[Midas] > [Tools] > [Get Object]
3. Component Image
4. Input/Output Value
- Input Data
Index | Name | Description | Type | Default |
Previous |
---|---|---|---|---|---|
1 | MName | End Point excluding "/db/" | String | - | - |
2 | MID |
ID number you wish to search (If no input is made,the entire data will be searched) |
Integer | - | - |
- Output Data
Index | Command | Description | Type | Method |
Next |
---|---|---|---|---|---|
1 | - | DB Data | Json | GET | - |
5. Reference API Manual Link
base URL and API-Key