Scripting Guide v2
  • Welcome to Karamba3D Scripting Guide
  • Go to Scripting Guide 1.3.3
  • Go to Manual
  • 1. Introduction
    • 1.1: Scripting with Karamba3D
    • 1.2: What's New in Karamba3D 1.3.3 Regarding Scripting
  • 2. Scripting with Karamba3D inside Grasshopper
    • 2.1: Hello Karamba3D
    • 2.2: Data Retrieval from Models
    • 2.3: How to Create Structural Models
    • 2.4: How to Modify Structural Models
      • 2.4.1: Cross section Optimization
      • 2.4.2: Activation and Deactivation of Elements
    • 2.5: Data Export from Karamba3D
    • 2.6: The VB Script Component
    • 2.7: The IronPython Component
      • 2.7.1: Results Retrieval on Shells
      • 2.7.2: A Simplified ESO-Procedure on Shells
  • 3. How to create your own Karamba3D Grasshopper-component
    • 3.1: Setting up a Visual Studio Project for GH Plug-ins
    • 3.2: Basic Component Setup
    • 3.3: How to Reference Karamba3D Assemblies
    • 3.4: Input- and Output-Plugs
    • 3.5: Adding Functionality to a GH Component
  • Bibliography
Powered by GitBook
On this page

Was this helpful?

  1. 3. How to create your own Karamba3D Grasshopper-component

3.1: Setting up a Visual Studio Project for GH Plug-ins

Previous2.7.2: A Simplified ESO-Procedure on ShellsNext3.2: Basic Component Setup

Last updated 4 years ago

Was this helpful?

In case of larger scripting projects advanced debugging facilities and the organization of source code in neatly separated files makes life easier. Integrated development environments like Microsoft Visual Studio offer these possibilities – and some more. The “Community”-version of Visual Studio can be downloaded for free from the Microsoft web-site.

A useful GH related tool for Visual Studio can be found at:

It contains project and component wizards which take care of the project settings and boiler-plate code necessary to create valid GH-components.

https://marketplace.visualstudio.com/items?itemName=McNeel.GrasshopperAssemblyforv6