Rhino Commands

Created by Mohamed Khaled Ashmawy, Modified on Wed, 04 Jan 2023 at 02:58 PM by Martin Manegold

Adaptive Parts Environment (APE) has some Rhino3D commands.


Here is a list of all available commands:

  • apeLicenseMode
  • apeRegister
  • apeUpdateInfo
  • apeInsert
  • apeEditBlock
  • apeScaleToUnits
  • apeShowPanel

They will be explained in more detail in the following:


ApeLicenseMode


This command opens the license mode selection dialog to switch between Trial, Licensed and Free Mode.


ApeRegister


This command opens the registration dialog to fill in your personal information. You are required to register your installation within the first 30 days.


ApeUpdateInfo


This command allows you to edit the user information you provided for the registration.



ApeInsert


This command lets you insert any Adaptive Parts Block in the Rhino3D file. Other than using Rhinos native insert Block command, apeInsert allows you to insert the 


Parameters:

  • Edit Parameters: If you set this to yes, you can edit and change the block's input parameters
  • Dynamic Insertion: If you set this to yes, you can pick the new position of your new adjusted adaptive block.


 

Note: This command can be used for automation using  macros or python scripts.


ApeEditBlock


This command gives you the opportunity to edit referenced Curves/Points from the adaptive parts script.



ApeScaleToUnits


When an Adaptive Part is baked, the current Rhino unit system will be the unit system of the baked part. It is shown at the bottom of the panel. If the adaptive Part is inserted into a document that does not match the original unit system it is automatically scaled to the correct size. (Input units in the panel will have to be entered in the original unit system of the Part).


The ApeScaleToUnits solves an issue, when a document unit is changed and the geometry is NOT scaled accordingly. (If you click "No" in the dialog below).

Then there is a mismatch between the size of Adaptive Parts the actual size of the object. It will resize the object to fit the new selected unit system.



Example: If an Adaptive Part Block is baked with Millimeters as units, and then change the document units to meters, the block should be scaled by 0.001. Otherwise the panel will not show the "usual" controls, but it will how a message "This Adaptive Part Element's scale hasn't been updated" and there will also be a button called "Update Scale". You can either click this button, or run the command apeScaleToUnits to update the scale of block to match the current unit system. If the scale is up to date already, the command does nothing. 




ApeShowPanel


This command shows the Adaptive Parts Panel, if it is not already active.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article