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

Can't set -Make2D LayerName via rhinoscript in Rhino 8 WIP?

$
0
0

LayerName option in Make2D command doesn’t seem to work - last layername is used instead. Could it be that text behaves any differently from Yes/No options?

Is there a better way to Make2D from rhinoscript? Rhino.Geometry.HiddenLineDrawingParameters method seems quite different from the command line options.

import rhinoscript as rs

rs.Command("-Make2D Layout=CPlane Properties=MaintainSourceLayers "
        +"CreateHiddenLines=No ShowTangents=No CreateSceneSilhouette=Yes "
        +"CreateClippingPlaneIntersections=Yes ShowViewRectangle=Yes "
        +"GroupOutput=No " 
        +"LayerName=test "
        +"_Enter",
        echo=True)

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles