AddSrfSectionCrvs - PYTHON 不支持

Adds planar curves resulting from the intersection of a defined cutting plane through a surface or a polysurface.For more information, see the Rhino help file for details on the Section command.

语法

Rhino.AddSrfSectionCrvs (strObject, arrPlane)

参数

strObject

Required.字符串。The identifier of a surface or polysurface object.

arrPlane

Required.Array.A plane that defines the cutting plane.

返回值

Array

An array of strings identifying the newly created section curves if successful.

Null

如果执行不成功或出错,返回空值。

示例

Const rhObjectSurface = 8

Const rhObjectPolysurface = 16

Dim strObject, arrCPlane, arrPlane, arrRPlane

strObject = Rhino.GetObject("Select object", rhObjectSurface + rhObjectPolysurface)

arrCPlane = Rhino.ViewCPlane

arrPlane = Rhino.PlaneFromNormal(arrCPlane(0), arrCPlane(1))

arrRPlane = Rhino.RotatePlane(arrPlane, -45.0, arrPlane(1))

Rhino.AddSrfSectionCrvs strObject, arrRPlane

同见

AddSrfContourCrvs