1、core核心color颜色actions动作brightness亮度components组件hue色调Image图像actions动作Dimensions大小frompixels(color:color,width,int,height;int)像素(颜色:颜色,高:整数,宽:整数)frompixels(color:color)像素(颜色:颜色)Pixels像素saturation饱和度create创造readFromFile读取文件byar gb颜色通道WriteToFile写入文件Colorrange色彩范围query查询alpha透明度blue变蓝green变绿red变红datetime
2、日期时间actions动作addTimeSpan增加时间间隔formula公式actions动作Evaluate求.数值input输入boolean布尔运算Codeblock代码组DirectoryPath目录路径DoubleSlider十字滑块联轴器FilePath文件路径Input输入byDate按日期byDateandTime按时间和日期Components组件IntegerSlider整数滑块Number编号Date日期Output输出DayOfWeek一周中的第几天DayOfYear一年中的第几天DaysInMonth月中天数FromString从字符串String字符串list列表
3、actions动作addItemToEnd项目添加到末尾IsDaylightSavingsTime日照节约时间IsLeapYear闰年addItemToFront项目添加到开头Chop印章SubtractTimeSpan减去时间跨度TimeOfDay一天中的时间query查询Combinations组合ContainsItem包含项Count计算MaxValue极大值MinValue极小值Now目前Cycle循环Deconstruct解构DiagonalLeft向左倾斜Diagonalright向右倾斜DropEveryNthItem每隔N项DropItems删除项FilterbyboolMa
4、sk通过布尔面具过滤器FirstItem首项Flatten变平getItematIndex索引项IsEmpty清空Today今天dayofweek星期query查询Friday星期五Monday星期一Saturday星期六Sunday星期天Thursday星期四Tuesday星期二Wednesday星期三Join加入LastItem末项evaluate求值Function.apply函数应用Function.Compose函数组成List.CartesianProduct列表笛卡儿积List.Combine列表组合List.Filter列表过滤器List.LaceLongest最长边列表Lis
5、t.LaceShortest最短边列表List.Map相关用法实例List.reduce减少列表List.Scan扫描列表MaximumItem最大项MinimumItem最小项OfrepeatedItem重复的项Permutations排列removeItematIndex删除项索引replacebyCondition更换条件restOfItems其他项reverse反向file文件CSV逗号分隔actions动作readFromFile从文件中读取WriteToFile写入文件Directory目录actions动作Contents内容Copy复制Delete删除Exists运算符Move
6、移动Directory.FromPath目录路径file文件actions动作ShiftIndices变化指数Shuffle随机Copy复制Slice部分Delete删除Sort分类Exists运算符Sublists子列表Move移动TakeEveryNthItem需要每一个最近的项TakeItems需要项Transpose调换UniqueItems独特项Create创造readText读入文本WriteText写入文本file.frompath文件的路径filepath文件路径actions动作List.Create创建列表ChangeExtension改变扩展名Combine合并Numbe
7、rrange数值范围NumberSequence数列DirectoryName目录名称Extension扩展功能FileName文件名query查询Empty清空logic逻辑actions动作HasExtension已有扩展Xor方向and和remove移动replace替换If如果Split分解Or是否StartsWith起始ScopeIf如果的范围Substring子串math数学actions动作abs(integer:int)整数绝对值abs(number:double)双倍绝对值acos反余弦ToLower C语言中把大写字母转换成小写字母的函数ToNumberToUpperC语言
8、中把小写字母转换成大写字母的函数TrimLeadingWhitespace修剪开头空格TrimTrailingWhitespace修剪尾部空格TrimWhitespace修剪asin反正弦atan反正切atan2反正切平方average平均数strings弦Webrequest网络请求Thread跟帖Ceiling上限Cos余弦actions动作pauseCosh双曲余弦DegreesTor adians角度转弧度Divrem定数等分余数Timespan时间跨度actions动作add增加Exp指数函数byDateDifference日期差异Factorial阶乘Floor基底Componen
9、ts组件Create创建Log(number:double)记录(数量:双倍)Log(number:double,logbase:double)记录(数量:双倍,对数底:双倍)FromString从字符串Negate取消Scale比例log10 Subtract减去Max(int:int,int2:int)最大(整数:整数,整数:整数)Max(value1:double,value:double)最大(价值,价值)Min(int:int,int2:int)最小(整数,整数)Min(value1:double,value:double)最小(价值,价值)Pow(函数名:计算的次幂)radians
10、ToDegrees弧度转角度rand(函数名:生成随机数)random(seed:int)随机TotalDays总天数TotalHours课时信息TotalMilliseconds总毫秒TotalMinutes总分钟TotalSeconds总秒query查询MaxValue极大值MinValue极小值Zero零Types类型create创造Types类型view视野Watch观看random(value1:double,value:double)随机(价值:双倍,价值:双倍)randomList随机数字表remaprange映射范围round(number:double)圆(数量:双倍)rou
11、nd(number:double,digits:int)圆(数量:双倍,数字:整数)Sign(integer:int)符号(整数:整数)Sign(number:double)符号(数量:双倍)Sin正弦Watch3D3D观看WatchImage观看图像Sinh双曲正弦Sqrt开方Sum求和Tan正切Tanh双曲正切query查询E自然对数底goldenratio黄金分割PI圆周率PiTimes2二倍圆周率object物体actions动作Identity身份(ID)IsNull空值scripting脚本Formula公式PythonScript测试脚本PythonScriptFrom Stri
12、ng从字符串测试脚本string字符串actions动作Center居中ChangeCase大小写转换Concat合并Contains包含CountOccurrences计数EndsWith.以.结尾FromObject从选项中IndexOf(检索的项)Insert插入Join连接LastIndexOf(检索的最后项)Length长度PadLeft从左边添加空格或其它字符Padright从右边添加空格或其它字符builtin Functions内装式功能Operators运算符allFalse全错-allTrue全对Concat合并多个数组!=%Contains(array:,member:)
13、包含(阵列,成员)Contains(array:,member:var)包含(阵列,成员)ContainsKey判断是否包含双倍)Scale(basePoint:Point,from:Point,to:Point)比例(基点:点,从.点到.点)Simplify精简StartParameter启动参数SweepasSolid扫描固体scale(plane:plane,xamount:double=1,yamount:double=1,zamount:double=1)比例(平面:面,X数量:双倍,Y数量:双倍,Z数量:双倍)SweepasSurface扫描表面TangentatParameter
14、切线参数ToNurbsCurve建模曲线scale(xamount:double=1,yamount:double=1,zamount:double=1)比例(X数量:双倍,Y数量:双倍,Z数量:双倍)Scale1D比例Create创造Scale2D比例byblendbetweenCurves曲线之间的融合byIsoCurveOnSurface通过Iso曲线表面byParameterLineOnSurface通过参数线表面Divide分离Spacingrule Layout间距规则布局Query查询Split分解Transform(cs:CoordinateSystem)转变(坐标系:坐标系)
15、Transform(fromcoordinatesystem:coordinatesystem,contextCoordinateSystem:CoordinateSystem)转变(坐标系:坐标系,坐标系:坐标系)Translate(direction:Vector)转变(方向:矢量)Translate(direction:Vector,distance:double)转变(方向:矢量,距离:双倍)EndPoint终点IsClosed属性IsPlanar平面Length长度Normal标准(法线)StartPoint起始点Translate(xTranslation:double=0,yTr
16、anslation:double=0,zTranslation:double=0)转变(X平移:双倍,Y平移:双倍,Z平移:双倍)Trim删减cylinderedge Query查询boundingbox边界框ContextCoordinateSystem上下文坐标系统Create创造byPointsradius点半径byr adiusHeight半径的高度Query查询hellixCreate创造byaxis轴线Query查询radius半径Query查询angle角度adjacentFaces相邻的面Curvegeometry曲线造型EndVertex端顶点axisDirection轴线方
17、向axisPoint轴线点Pitch倾斜StartVertex始顶点radius半径Ellipse椭圆形Create创造byCoordinateSystemradii通过坐标系半径Indexgroup指标组Create创造byIndices(a:int,b:int,c:int)指数(a:整数,b:整数,c:整数)byOriginradii起源半径byOriginVectors起源向量byPlaneradii平面半径byIndices(a:int,b:int,c:int,d:int)指数(a:整数,b:整数,c:整数,d:整数)Query查询Query查询aCenterPoint中心点Major
18、axis长轴Minoraxis短轴bcCount计算Ellipsearc椭圆弧线dline add加法Create创造bybestFitThroughPoints通过最适合点asVector作为矢量Project项byStartPointDirectionLength起点方向长度byStartPointEndPoint起点到终点byTangency通过接触PruneDuplicates删除重复Subtract减去Create创造Query查询Direction方向mesh byCartesianCoordinates直角坐标byCoordinates(x:double=0,y:double=0
19、)坐标轴(X:双倍,Y:双倍)Create创造bypointsfaceindicesQuery查询FaceIndices平面指数VertexNormals顶点法线VertexPositions顶点位置byCoordinates(x:double=0,y:double=0,z:double=0)坐标轴(X:双倍,Y:双倍,Z:双倍)byCylindricalCoordinates柱面坐标bySphericalCoordinates球坐标Origin原点Query查询Nurbscurveactions动作ControlPoints控制点XYZKnots端点polycurveWeights重量Cre
20、ate创造actions动作basePlane基面byControlPoints(points:Point)通过控制点(点:点)byControlPoints(points:Point,degree:int=3)通过控制点(点:点,度:整数)bycontrolpoints(points:point,degree:int=3,closecurve:bool=false)通过控制点(点:点,度:整数,闭曲线:布尔=错误)byControlPointsWeightsKnots控制点的权重节byPoints(points:Point)点(点:点)CloseWithLine封闭面CloseWithLin
21、eandTangentarcs封闭线和切线弧CurveatIndex在指数曲线Curves曲线ExtendWitharc扩展与弧ExtendWithEllipse扩展与椭圆Fillet倒圆角byPoints(points:Point,closeCurve:bool=false)点(点:点,闭曲线:布尔=错误)Offset偏移Create创造byPoints(points:Point,degree:int=3)点(点:点,度:整数)byPointsTangents点切线byJoinedCurves通过加入曲线byPoints点Query查询byThickeningCurve增稠曲线Degree度
22、IsPeriodic周期性Isrational有理性Nurbssurfaceactions动作Query查询NumberOfCurves数量的曲线Polygon多边形actions动作Center居中ControlPoints控制点UKnotsU结ContainmentTest控制测试Corners转角VKnotsV结SelfIntersections自相交Weights重量Create创造Create创造byPoints点byControlPoints控制点regularPolygon正多边形byControlPointsWeightsKnots控制点的权重结byPoints点byPoint
23、sTangents点切线Query查询PlaneDeviation水平偏差Points点byPointsTangentsKnotsDerivatives结点切线衍生物Query查询DegreeUU度PolySurface多重曲面actions动作EdgeCount边界统计DegreeVV度ExtractSolids提取固体IsPeriodicInUU定期IsPeriodicInVV定期Isrational有理性LocateSurfacesbyLine定位表面的线LocateSurfacesbyPoint定位表面的点SurfaceCount面数NumControlPointsUU号码控制点Num
24、ControlPointsVV号码控制点Surfaces表面Unconnectedboundaries无关联的边界VertexCount顶点数量planeactions动作Create创造Offset偏移byJoinedSurfaces通过加入表面ToCoordinateSystem坐标系统Create创造bybestFitThroughPoints最适合通过分byLoft(crossSections:Curve)球杆面之角度(横截面:曲线)byLoft(crossSections:Curve,guideCurve:Curve)球杆面之角度(横截面:曲线,引导曲线:曲线)byLineandPo
25、int点和线byLoftguides球杆面之角度导向byOriginNormal标准起源bySolid通过实线byOriginNormalXaxisX轴线普通原点byOriginXaxisYaxisX轴线Y轴线原点bySweep(rall:Curve,crossSections:Curve)扫描(渐缓:曲线,横截面:曲线)byThreePoints三点bySweep(rall:Curve,profile:Curve)扫描(渐缓:曲线,轮廓:曲线)XYXZYZ rectangle矩形Create创造byCornerPoints(p1:Point,p2:Point,p3:Point,p4:Poin
26、t)中心点Query查询(1:点,2:点,3:点,4:点)Normal标准Origin原点XaxisX轴线YaxisY轴线byCornerPoints(points:Point)中心点(点:点)byWidthheight(cs:coordinatesystem,width:double=1,length:double=1)像素(坐标系:坐标系,宽度:双倍,长度:双倍)byWidthheight(plane:plane,width:double=1,length:double=1)像素(平面:面,宽度:双倍,长度:双倍)Point点actions动作byWidthHeight(width:dou
27、ble=1,length:double=1)像素(宽度:双倍,长度:双倍)Closed封闭Query查询Height高度Width宽度ClosedInU在U中封闭ClosedInV在V中封闭Perimeter周长solid Tessellation曲面细分actions动作Centroid几何中心Difference差别ConvexHull多边形actions动作byPoints点Differenceall全不同ProjectInputOnto项目输入到ThinShell薄壳Delaunay德劳内类型actions动作byParametersOnSurface表面参数Union结合Uniona
28、ll全结合Create创造byPoints点Voronoi泰森多边形actions动作byJoinedSurfaces连接表面byParametersOnSurface表面参数Topology拓扑结构Query查询Edges边Faces面Vertices顶点UV紫外线Create创造byCoordinates坐标系Query查询byLoft(crossSections:Curve)球杆面之角度(横截面:曲线)byLoft(crossSections:Curve,guideCurve:Curve)球杆面之角度(横截面:曲线,引导曲线:曲线)byLoft(crossSections:Curve,g
29、uideCurve:Curve)球杆面之角度(横截面:曲线,引导曲线:曲线)byr evolve循环bySweep扫描bySweep2rails扫描轨道byUnion结合Query查询Uarea面积vVolume体积Vector矢量sphere actions动作Create创造add加bybestFit最佳匹配anglebetween节点byCenterPointradius中心点半经byFourPoints四个点asPoint作用点Cross交叉Query查询Dot圆点CenterPoint中心点radius半径IsalmostEqualTo几乎等于IsParallel平行surface
30、Normalized标准化actions动作reverse反向approximateWithTolerance近似的宽容CoordinateSystematParameter坐标系统在参数CurvatureatParameter曲率参数DerivativesatParameter衍生品参数FlipNormalDirection翻转法线方向gaussianCurvatureatParameter高斯曲率在参数getIsoline得到等值线Join(otherSurface:Surface)加入(其他表面:表面)Join(otherSurface:Surface)加入(其他表面:表面)Normal
31、atParameter参数正常rotate(axis:Vector,degree:double=0)旋转(坐标轴:矢量,角度:双倍)rotate(origin:Plane,degree:double=0)旋转(原点:面,角度:双倍)Scale(scale_factor:double=1)比例(比例系数:双倍)scale(xscalefcator:double=1,yscalefcator:double=1,zscalefcator:double=1)比例(X比例系数:双倍,Y比例系数:双倍,Z比例系数:双倍)Subtract减去Transform变换NormalatPoint点正常Create
32、创造Offset偏移byCoordinates(x:double=0,y:double=0,z:double=0)坐标轴PerimeterCurves边界曲线(X:双倍,Y双倍,Z:双倍)PointatParameter点参数bycoordinates(x:double=0,y:double=0,z:double=0,normalizPrincipalCurvaturesatParameter主要的弯曲度参数PrincipalDirectionsatParameter主要方向参数ProjectInputOnto项目输入到ed:bool=false)坐标轴(X:双倍,Y双倍,Z双倍,标准化:布尔
33、=错误)byTwoPoints两点XaxisX坐标yaxisY坐标zaxisZ坐标SubtractFrom减去TangentatUParameter切在U参数TangentatVParameter切在V参数Thicken(thickness:double=1)加厚(厚度)Thicken(thickness:double=1,both_sides:bool=ture)加厚(厚度:双倍,两边:布尔=正确)ToNurbsSurface建模表面TrimWithEdgeLoops与边缘修剪循环UVParameteratPoint紫外线参数点Query查询Length长度XYZVertex顶点Query查
34、询Create创造byLoft(crossSections:Curve)球杆面之角度(横截面:曲线)byLoft(crossSections:Curve,guideCurve:Curve)球杆面之角度(横截面:曲线,引导曲线:曲线)byLoft(crossSections:Curve,guideCurve:Curve)杆面之角度(横截面:曲线,引导曲线:曲线)byPatch补丁adjacentEdges相邻边adjacentFaces相邻面Pointgeometry几何点byPerimeterPoints周长点byr evolve旋转byr uledLoft规则曲面球杆面之角度bySweep扫
35、描bySweep2rails扫描轨道Query查询area面积RevitAnalysis分析FaceanalysisDisplay面分析显示Create创造byViewandFaceanalysisData查看和分析数据byViewFacePointsandValues视图的面点和价值PointanalysisDisplay点分析显示Create创造byViewandPointanalysisData查看和分析数据byViewPointsandValues观点和价值VectoranalysisDisplay矢量分析显示Create创造byViewandVectoranalysisData视图和
36、矢量分析数据byViewPointsandVectorValues观点和矢量值application应用程序Element元素actions动作geometry几何getParameterValuebyName名称得到参数值OverrideColorInView视图覆盖的颜色SetParameterbyName名称设置参数ToString通过字符串Query查询boundingbox边界框Curves曲线ElementCurvereferences曲线元素引用ElementFacereferences元素的面引用Faces多面Id身份Name名称Document文档Query查询Paramet
37、ers参数Solids固体activeView当前视窗UniqueId识别码Current当前的IsFamilyDocument家庭文档Location位置Family家族Create创造byName名称Query查询Elements基础adaptiveComponent自适应组件Create创造Name名称Symbols符号byparametersoncurveReference(parameters:double,c FamilyInstance家庭实例actions动作byFamilySymbol类型Create创造byCoordinates坐标系urve:Curve,familySym
38、bol:FamilySymbol)参数对曲线的参考(参数:双倍,曲线:曲线,类型:类型)byparametersonface(uvs:Uv,surface:surface,familysymbol:FamilySymbol)参数对曲线的参考(紫外光谱:紫外线,表面:表面,类型:类型)byPoint点byPoints点byPointandLevel点和水平Query查询Query查询Locations地点Symbol符号Location位置Symbol符号Category种类Create创造byName名称FamilySymbol家族符号Create创造byFamilyandName家庭和名称Q
39、uery查询Id分身Name名称byFamilyNameandTypeName家庭名和类型名byName名称Query查询Family家族CurtainPanel管屏Create创造asFamilyInstance家庭实例Name名称Floor楼层Create创造byElement元素SupportingMullions支持竖框Query查询byo utlineTypeandl evel(outline:polycurve,floorType:floorType,level:Level)大纲类型和级别(大纲:保利曲线,地台:地台,水平:水平)Id身份Name名称CurvebyPoints曲线的
40、点Create创造byo utlineTypeandl evel(outline:polycurve,floorType:floorType,level:Level)大纲类型和级别(大纲:保利曲线,地台:地台,水平:水平)FloorType地台Create创造byr eferencePoints参考点CurveElement曲线要素actions动作Tessellate细化Query查询Curve曲线ElementCurvereference元素曲线参考byName名称Query查询Name名称Form表格Create创造byLoftCrossSections(curve:Curve,isSo
41、lid:bool=ture)球DividedPath分裂的道路Create创造byCurvea ndDivisions(curve:Curve,divisions:int)曲线和分杆面之角度横截面(曲线:曲线,固体:布尔=正确)byl oftcrosssections(curve:curve,issolid:bool=ture)球杆面之角度横截面(曲线:曲线,固体:布尔=正确)格(曲线:曲线,分格:整数)byCurvesa ndDivisions(curve:Curve,divisions:int)曲线和分格(曲线:曲线,分格:整数)grid网格Create创造byarc圆弧Query查询by
42、Line直线Points点DividedSurface分割表面Create创造byStartPointEndPoint起始点终点Query查询Curve曲线byfaceandUvdivisions(elementface:surface,udivs:int,v ElementCurvereference元素曲线参考Divs:int)面和紫外线的分隔(元素的面:表面,U分隔:整数,V分隔:整数)ImportInstance导入实例Create创造byfaceUvdivisionsandRotation(surface:surface,udivs:int,vDivs:int,gridrotatio
43、n:double)面和紫外线的分隔(表面:表面,U分隔:整数,V分隔:整数,网格旋转:双倍)bygeometries几何bygeometry几何bySaTFileSaT文件Query查询Query查询rotation旋转Path轨道UDivisionsU分隔VDivisionsV分隔Level水平Create创造byElevation海拔Column圆柱byElevationandName海拔和名称byLevelandOffset水平和抵消byLevelOffsetandName水平偏移和名称Query查询Elevation海拔Footing基础NonStructural不用于结构上的SunS
44、ettings太阳设置Query查询altitude海拔Name名称azimuth方位角ProjectElevation项目高度Material材料Create创造byName名称ModelCurve模型曲线Create创造byCurve曲线referenceCurvebyCurve参考曲线的曲线ModelText示范文本Create创造CurrentDateTime当前工作日期EndDateTime截止日期StartDateTime开始时间SunDirection太阳方向Topography地形Create创造byPoints点Query查询Mesh网格Points点byTextSketch
45、PlaneandPosition文本草图平面和位置Query查询Depth深度Position位置Text文本ModelTextType模型的文本类型Create创造byName名称Mullion窗门的竖框actions动作asFamilyInstance家庭实例byElement元素SupportedPanels支撑板Query查询LocationCurve位置曲线Parameter参数Query查询Wall墙Create创造byCurvea ndHeight曲线和高度byCurvea ndLevels曲线和色阶WallType墙类型Create创造byName名称Query查询Name名称
46、references参考文献raybounce射线弹跳actions动作byOriginDirection来源方向Selection选材allElements atLevel层次所有元素allElements ofCategory所有元素的类别allElements ofFamily Type家庭类型的所有元素allElements ofType所有元素的类型Categories分类ElementTypes元素类型Family Types家庭类型Name名称referencePlane基准面Create创造byLine直线byStartPointEndPoint从点.到.点Query查询Ele
47、mentPlanereference元素平面参考FloorTypes楼层类型getFamily Parameter得到家庭的参数Levels色阶Plane面referencePoint基点Create创造SelectDivided Surface Families选择表面分裂的家庭SelectEdge选择边缘SelectFace选择面byCoordinates坐标系SelectFaces选择多面byLengthOnCurvereference参考曲线上的长度byParameterOnCurvereference参考曲线上的参数byParametersOnFacer eference参考面上的参
48、数byPoint点byPointVectorDistance点向量的距离Query查询SelectModelElement选择模型元素SelectModelElements选择模型元素SelectPointon Face在平面上选择点SelectUVonFace选择紫外线的面Structural ColumnTypes结构列类型Structural FramingTypes结构框架类型Views视图Point点X WallTypes墙的类型XYPlaneXY面XZPlaneXZ面Y Transcation更新数据Transcation更新数据actions动作YZPlaneYZ面Z End结束
49、Start开始SketchPlane工作平面Create创造byPlane面Query查询View视图allElements Inactive View活动视图中的所有元素SunSettings.Current当前太阳设置Views视图ElementPlanereference元素平面参考Plane面axonometricView轴侧投影Create创造StructuralFraming结构框架Create创造beambyCurve梁的曲线bracebyCurve柱的曲线byCurveLevelUpVectorandType曲线水平向量和类型ColumnbyCurve列的曲线Query查询byEyePointandTarget视点和目标byEyePointTargetandboundingbox视点目标和边界框byEyePointTargetandElement视点目标和元素CeilingPlanView顶棚平面图Create创造byLevel水平DraftingView起草视图Location位置Symbol符号Create创造byName名称StructuralType构造类型Query查询FloorPlanView楼层平面图Create创造bea