Question
Can I add an undeveloped Item myself?
Answer
You can add a new item to a list as long as you do not modify the component's structure itself.
For example, we’ll show you how to add a new Analysis Type in the Item of Load Combinations General component.
The Analysis Type for Load Combinations is not limited to just the Static Load Case — other types of Load Cases can also be added.
Example: Adding Analysis Type to Load Combination
-
Create a
Midas Setting
component in Grasshopper. -
Double-click the icon to confirm the Language setting (usually English or Korean).
-
Navigate to the following path:
-
Enter the
LCOM-GEN
folder.NOTELCOM-GEN is the endpoint name for Load Combinations in the CIVIL NX API.
-
Open the file
ANAL.txt
.NOTEThis file contains the list of Analysis Types displayed in the component.
-
Add your new Analysis Type in the format:
-
Description: the name shown in the component
-
Value: the value passed to the API
-
-
Save the file after editing.
-
Restart Rhino to apply the changes and check the updated list in the component.