Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5846

EditPythonScript add content from Type Library

$
0
0

Hi @Dale,

in the EditPythonScript interface, there is the left pane where we can see method entries for , rhinoscriptsyntax, scriptcontext, Rhino and Eto as shown below:

I would like to understand how i can add my own entries there and what is required to get them listed. For example i have a complete COM type library which i am able to receive using this python code:

import clr
typelib = clr.LoadTypeLibrary(System.Guid("TheGUID"))

The Guid points to a valid guid which can be added eg. as a Reference in eg. VS or SharpDevelop:

From where are these entries read in the EditPythonScript dialog ? Is this possible at all ?
_
c.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5846

Latest Images

Trending Articles



Latest Images