algorithmic modeling for Rhino
This library contains a number of components and commands for querying and manipulating Grasshopper components dynamically. You can retrieve components and objects based on their type, their library, the group they're in, or by selecting them directly - or even get all the objects in a document at once. You can then retrieve information about these components + parameters, the libraries they belong to. You can also manipulate objects directly: enabling/disabling, turning preview on and off, changing the color of groups, the text and size of scribbles, and the shape of sketch objects.
MetaHopper also adds a new menu to the Grasshopper document editor, that wraps up several functions:
BestPracticize Selection lets you pick a group and auto-insert params for all the inputs and outputs coming into/out of the group. This makes for nice, tidy functional groupings that make your Grasshopper code easier to read.
Save Snippet improves on an earlier script I released - it lets you select any group of components + objects and save them as a single user object - without needing to cluster them. This is useful when you want things saved that have internal UI elements - like a graph mapper or slider for instance - that you want to be able to manipulate with the reusable chunk of code you're saving.
Bottleneck Navigator opens up a window that lets you see all the components in your definition, sorted by their "Runtime" - how long it took them to execute. You can click on any item in the list and zoom to it instantly - so that you can find opportunities for optimization in your definition.
Members: 232
Latest Activity: Sep 13
Set the name, color, and style of a group.
Control the display of wires for parameters and components.
Set the text, size, and font of a Scribble.
Programmatically control the preview visibility of specified objects
Programmatically set the nickname of specified objects
Programmatically enable/disable solving for specified objects
Modify the form of an existing sketch object.
Programmatically bake the geometry of specified objects
Switch all document wires between hidden and faint.
Converts a standard GH Slider into a variable input to the Batch Driver
Saves a screenshot of every state of the model in the batch to a folder.
Converts a list of values such as a series or range into a variable input to the Batch Driver
Run a batch analysis across a range of variable parameters
Gets information about param objects
Gets basic information from any DocumentObject
Gets information about an assembly
Get information about a component object. Retrieve components with Document Info, Get Attached Component, or Get Selected Component.
Get information about the GH document and its components
Get all groups in the document
Gets all components and params connected to this component
Gets all components and params that are from the same library as the attached.
Get the objects currently selected on the canvas
Get all Scribbles in the document
Gets all components and params that are of the same type as the attached.
Gets all components and params in the same group as this component (or the specified group if supplied)
Takes a selected group and inserts input and output params at both edges for any data that goes outside the group.
Highlight objects by adding them a new group
Tries to set the value of an object. What value it sets varies by type - it sets a slider’s numeric value, a panel or scribble’s text contents, etc
Appends the directory this definition is saved in to a file path. Auto-converts the contents of a text panel containing an absolute path
plsthe most attractive functionwheres it nowthank you very muchContinue
Started by weilai Apr 10, 2019.
Please refer all metahopper-related questions to the metahopper category on discourse: …Continue
Started by Andrew Heumann Nov 1, 2018.
Hi Andrew,I am attempting to use your Enable/Disable toggle inside of a cluster and it does not appear to work. Is it possible I am doing something wrong or is this a known issue?Your plug-in is…Continue
Started by Ben Pearce. Last reply by Ben Pearce Jul 11, 2018.
Hey guys,I'm using the MetaHopper Enable/Disable component inside a Cluster and I realized that it only updates when I change a parameter (check the "Components Inside Cluster" part of the example…Continue
Tags: metahopper
Started by jeffchicarelli Jul 4, 2018.
Comment
Try this: http://www.food4rhino.com/app/metahopper
Hi. I really would like to try this component, but the download link keeps returning 404. Is there any other place where we can download it, please?
You might also be interested in the Freighter project by the resident geniuses at Proving Ground - I think it does much of what you're attempting to do.
Hi Tobias - See attached for a version of the code I use to get library dependencies by traversing the Grasshopper document, in a c# scripting component.
Hi Andrew,
Thank you very much. In the moment i am working on a component which "packs" Grasshopperfiles ... what actually means it creats a new folder with the grasshopper, the rhino and all plugin files. I did the most of it but in the moment i have to use the meta hopper "assembly info" to get the names and Filepaths of the plugin files.
I tried to find something in the SDK information but i was not really succsessful ... so if you could give me an idea how the assembly info works that would be really fantastic.
If you would give me an idea how i
hi Tobias -
The MetaHopper source is not publicly available, but I am happy to answer any questions you have if there are specific things you're trying to do.
Hey Andrew,
i am working on some custom components to automate grasshopper for a university project on the rwth. Is there a posibillity do get look inside some of your MetaHopper components ?
It is a gread PlugIn and i use it a lot but in this case i hope to understand how you work on the grasshopper namespace to manipulate it. It would be a big help for me if i could get look inside.
Thank you very much for the PlugIn and for your help.
Tobias
The 14_RelativePaths.gh in the Example Files(2017-Mar-08)of MetaHopper needs Shutterbug, could you please tell me where can I download it?
Hm, does get/set-object not interface with the Data Recorder at all? :T
Hi Andrew,
Have you looked into the possibility of controlling icon/text settings? A selector like the wire control component would be great.
I use text settings for parameters acting as inputs and outputs (in a "best practice" style), and icons for pretty much everything else, so a selector would be handy.
Or perhaps this capacity already exists in Metahopper?
Thanks!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by
You need to be a member of MetaHopper to add comments!