Quantcast
Channel: Scripting - McNeel Forum
Browsing all 5800 articles
Browse latest View live

Convert Object User Text to Attribute UserText

Hello All, I am wondering if it is possible to “convert” user text to Attribute user text. Reason being i often receive geometry with Object user text and i would like to view the parameters in the...

View Article


Image may be NSFW.
Clik here to view.

Vb code don't work

Hello, i try to run this vb code but didn’t work in Rhino developer.rhino3d.com Divide Curve With Equidistant Points Demonstrates equidistance curve division using RhinoScript. And what is the...

View Article


Is it a bug?

According to _List command Rhino says that the line end point is: end = (3.003319090732994e-16, -4.104148255938665e-14, -1) But, _What tells that it is: end = (0.00,-0.00,-1.00) Well, _What is right...

View Article

Moving named views

Hey! I’m noticing a similar issue in R7 with the script not moving named views. In my case I’m only trying to move views vertically. It moves the camera vertically of the active view, but the named...

View Article

How to create a vertex position list

I’m a Sound Engineer by profession and I often have to use simulation software to design large arena sized Sound systems. The simulation software that is provided by the manufacturer is not able to...

View Article


Moving Rhino cameras using Rhino Python editor doesn't move enscape views

Hi, when trying to move the rhino origin (geometry and views) from the old origin to the new origin, it moves all views and geometry correctly except views created through enscape. Wondering if...

View Article

How to find Rhino id for all new mesh-objects generated when i...

Hi All I am performing lot of operations inside a python script where i use many commands that add/remove mesh-objects. For instance: split_cmd_str = "_MeshSplit _SelID " + str(mesh_obj_id[0]) + "...

View Article

Image may be NSFW.
Clik here to view.

Help to convert brep to gh_brep

Hi, how can I fix this last line error to get the output? var of = offset[0]; da.SetDataTree(0,GH_Brep(of)); IMG_20210616_133641_9561011×636 48.8 KB protected override void...

View Article


Selecting text in the current layout

I like to have all text in the current layout (not manual select) and to have them deleted at a start of a script. I tried AllObjects, filter off for text, but texts in other layouts also got deleted....

View Article


Image may be NSFW.
Clik here to view.

Step-by-step details for adding C++ DLL to a Python script with working example

NOTE: The following detailed description of how to create a C++ DLL for use with a Python script only works on a Windows machine. The process for creating a C++ DLL is illuminated by the sample Python...

View Article

Need covert PolyLineCurveTo polyline

(topic deleted by author) 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

Error python "No module named Image"

Hi all I’m trying to make python code to add QRcode to drawings. I have some error at this moment. can anybody help me. btw I added some library to lib folder. seems some of them works but some not. I...

View Article

Image may be NSFW.
Clik here to view.

Value List in input parameters?

value List in input parameters? photo_2021-06-19_13-00-02953×605 27.8 KB @Mahdiyar protected override void RegisterInputParams(GH_Component.GH_InputParamManager pManager) {...

View Article


Selecting objects by "displayed" color

Hi, I’m trying to figure a way of quickly flipping dir of faces in large projects. Is there a way of selecting faces by their displayed color ? I mean : not “display color” but actual “displayed...

View Article

Explode all blocks in selected

Hi, Looking for a way to explode all blocks, including nested blocks, in a selection. I want to end up with solid body objects only in the end. Rhino 7 Python. Eric 2 posts - 2 participants Read full...

View Article


Image may be NSFW.
Clik here to view.

Retrieve mesh settings entered in the "-_Mesh" GUI

Hello everyone, A part of the plug-in I am developing uses successive meshing steps for several surfaces, and for user-friendliness, I show up the Mesh interface to the user (the Preview option is...

View Article

Point selection (IronPython)

Hi, I can’t put a point on the top and bottom sides of the cube. Solved through Explode > Join, check it out. Point.3dm (28.9 KB) Point.py (197 Bytes) 3 posts - 2 participants Read full topic

View Article


Image may be NSFW.
Clik here to view.

Add my components to current components tabs(category) of grasshopper?

hi everyones how did add my components to current components tabs (category) of grasshopper ?(visual studio) for example add to category ( interest or params or …) @Mahdiyar c# public class...

View Article

How to make Angular dimension by Python Rhino

Hi all I wanna make an Angular dimension on Rhino by Python can anyone help. 2 posts - 2 participants Read full topic

View Article

Write Point Name and Coordinate Value to .txt File

Dear All, In Python, I tried to write points in Rhino with their Objectname and Coordinates as a list to a .txt File. However, I don’t know how to combine the objectname string with the coordinate...

View Article
Browsing all 5800 articles
Browse latest View live