Question
The component does not create nodes or elements using the ID specified by the user in Grasshopper.
Answer
In MIDAS GH, when working inside Grasshopper, the system automatically generates and manages ID numbers to ensure compatibility with CIVIL NX.
Here's how the ID system works:
- MIDAS GH generates unique ID numbers that match the CIVIL NX format.
- To prevent duplicate IDs, it keeps track of the IDs that have already been used.
- Once a component creates nodes or elements, those values are temporarily stored in a Temp DB (Temporary Database).
- If you move or reconfigure the component, new geometry will be created using the next available ID, not necessarily the one you manually input.
As a result, even if you enter a specific ID, the final created model might not use it due to this internal ID tracking system.
Solution
To reset the internal ID tracking and allow the model to generate using your specified ID:
-
Right-click on the component icon in Grasshopper.
-
Select
Clear Temp Civil NX
to remove the temporarily stored data. -
Then click
Clean & Recalculate Element
to regenerate the model with the desired settings.
This feature is available in MIDAS GH version 2.0.7 or later.
If you're frequently changing positions or manually setting IDs in your modeling workflow, we recommend using the Clear Temp DB Civil NX
option regularly to avoid unintended ID assignment.