Skip to main content
FAQ Created Edited

Is it not possible to use features that haven’t been developed yet?

Question

Is it not possible to use features or codes that haven’t been developed yet?

 

Answer

Even if a specific feature or component has not yet been developed, it is still possible to use it by leveraging the Send Request component, which allows you to call the API directly.

Please note that this requires some understanding of API usage. For detailed guidance, please refer to the manuals below:

Example: Changing Unit Settings in Civil NX

Currently, there is no dedicated component in MIDAS GH to change units in Civil NX.
However, using the Send Request component, you can achieve this through the following steps:

  • Original Unit: m / kN / Btu / Fahrenheit

  • Target Unit: ft / lbf / KJ / Celsius

  1. Ensure API connection between MIDAS GH and Civil NX.
  2. Create a Send Request component in Grasshopper.
  3. Navigate to the Unit System section in the API manual.
    NOTE

    Reference Site : Unit System - MIDAS Support

  4. Refer to the Examples section in the manual and copy the JSON request format.
  5. Modify the JSON according to your needs.
    • Example: "Unit": "ft / lbf / KJ / Celsius"

  6. Execute the request using Send Request and verify the updated unit in Civil NX.
0
Was this article helpful?