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

Point style and size

$
0
0

Hi there!
Please, need help to AddPoint or DrawPoint (points) with a given style and size.

Have this to color the point:

import lor the point

import scriptcontext as sc
import rhinoscriptsyntax as rs

    color = rs.CreateColor(120, 100, 128) 
    Pnt = [4.0, 2.0, 0.0] 
    pnt_id = rs.AddPoint(Pnt)
    rs.ObjectColor(pnt_id, color);

Thanks!
Vzav

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles