How to extend list of curves to a bounding box
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleClass field and random
hello! i want to create a field in x and y plane then i want to pick random 3 points in that field in rhino python script. any ideas? thanks in advance. (: 1 post - 1 participant Read full topic
View ArticleSystem.AccessViolationException when iterating RenderMaterials
Hi! I’ve been having difficulties when iterating RenderMaterialTable and got this error. My aim is to know if a specific render material exists in the currently opened file to modify it. 9 posts - 2...
View ArticleSave multiple polysurface to individual obj file with batch script?
Hi! I have multiple buildings in one file, and I’d like to export them into individual files, each containing one building. Is that feasible in Rhinoscript? Many thanks! 4 posts - 2 participants Read...
View ArticlePython for grasshopper - creating density zones and building heights
Hi all, Trying to create density zones with buildings heights higher in the centre (40 to 60m) and lower (20 to 39m) as you go out using Python in Grasshopper. I have managed to set the two origin...
View ArticleSave multiple polysurface to individual obj file with batch script?
Hi! I have multiple buildings in one file, and I’d like to export them into individual files, each containing one building. Is that feasible in Rhinoscript? Many thanks! 4 posts - 2 participants Read...
View ArticleNeed additional button for specific color code
I Need a additional button in toolbar which will apply gray color with RGB 135,135,135 to a selected object. Can someone please help me into this? Thank you in advance. 4 posts - 2 participants Read...
View ArticleNew GH component to run other scripts?
Hello, I remember a release of a GH component that enables running a script outside Rhino/GH and reporting the solution back into GH. But I don’t remember how is it called and where I can find it?...
View ArticleCreate toolbar Button that references DocumentUserText
Hello, via Grasshopper-Definition I can write a list of Rhino-Commands into a textfile. These commands differ from project to project and contain project-specific names and file paths, but the name of...
View ArticleCopy the object to multiple points on the closed curve
Hello. I want to multi-copy the object to multiple points on the closed curve in the direction perpendicular to the line. If there are few, I will make a rotation copy by aligning, but the type of...
View ArticleImport File API Python
Hi, Anyone knows what’s the API for import file in Rhino for Python script? Try to build a script to batch import pdf. 1 post - 1 participant Read full topic
View ArticleSet mesh texture coordinates via script? (RS)
Is there a way to SET texture coordinates for an existing mesh? I can read it via Rhino.MeshTextureCoordinates (RhinoScript) but I don’t see a way to set new ones on the existing mesh. Currently...
View ArticleGet the orientation of the text
Hello everyone, I am trying to read the orientation of the text with TextObjectPlane. The problem that I have is when a text is rotated and bring back to the original position the return I have is...
View ArticleFrom RhinoObject to Instance Object container
Hello, How, having a RhinoObject, can I know the InstanceObject that contains it ? (I’m in the BlockEdit command) jmv 2 posts - 1 participant Read full topic
View ArticleAccomplising Circle Around Curve via Python API
Anyone know how to generate a circle around a curve via python API? Trying to use Circle(Point3d, Vector3d, Point3d) but I think I am missing something. I am trying to target one curve’s start and...
View ArticleRhinoDoc.ActiveDoc.Import without prompt
I am doing RHINO test automation, when importing a DWG file, RHINO always pops up a prompt asking me to confirm, how to turn off this prompt? Or how to confirm this prompt with code? 3 posts - 2...
View ArticleAdd to Objects,then findId can't find this object
I use “RhinoDoc.Objects.Add”,and it return id,then I use “RhinoDoc.Objects.FindId” api can’t find this object.Is there a bug or something? 3 posts - 3 participants Read full topic
View ArticleCan't edit subd vertices using python
Hi, I am attempting to modify the coordinates of a subd vertex using python. I thought that editing the vertex ControlNetPoint would work (docs say it has both a setter and getter), but the subd does...
View ArticlePdf creation through python issue
Hi, Is there a change in pdf creation procedure ? My old script is now creating large file size in vector mode. I tried to use the properties DrawBackground and DrawBackgroundBitmap with no success....
View ArticleZ position issues
line = rs.GetObject(’’, rs.filter.curve) midpoint = rs.CurveMidPoint(line) print midpoint.Z I have an object from where I create a dupedge. The curves Z-postition should be 0, but when running the...
View Article