AutoCAD ActiveX #2 AcadUtility

Utility A series of methods provided for utility purposes. Utility functions that allow you to request input from the user or perform geometric calculations. getPoint() Gets the point selected in AutoC
AutoCAD ActiveX #3 Draw

AddLine Creates a line passing through two points. Dim pt1 As Variantpt1 = ThisDrawing.Utility.getPoint(,点1)Dim pt2 As Variantpt2 = ThisDrawing.Utility.getPoint(,点2)Dim lineObj As AcadLineSet lineO
AutoCAD ActiveX #4 Block & Layer

Layer A logical grouping of data, similar to transparent acetate overlays on a drawing. Add Dim layerObj As AcadLayerSet layerObj = ThisDrawing.Layers.Add(CNS_中心线)layerObj.color = acYellow''Make
AutoCAD ActiveX #5 SelectionSet

SelectionSet A group of one or more AutoCAD objects specified for processing as a single unit. Add Creates a member object and adds it to the appropriate collection. Dim ssetObj As AcadSelectionSetSet
Scope Chain & Closure

我们先来小试身手,在这之前我们必须有function scope 跟 global varible的基本知识 let a = hellofunction test1(){ var a = Goodbye console.log(a) // Goodbye test2() }function test2(){
CallStack

由于JavaScript是单线程的语言,所以从上而下设计就很重要,若有点困难可以先去看Function Scope了解会很快了解CallStack 以下为依序执行function a 里面所有functio
Constructor

当我们今天要储存个人的信息会使用到object,但仔细思考若有100位的话,是否太麻烦了 let persion1 = { name: Dennis, age: 22, phone: 090909090}console.log(persion1)//{ name: 'D
战略管理(strategic management)

我在这篇文章中介绍战略管理。我的书《有效的CISSP:安全和风险管理》中有详细信息。 政策(Policy)代表管理意图。一旦制定或製定了战略,就会发布策略
Prototype

在Constructor的章节中我们使用建立实体的方式 function Person(name, age){ this.name = name this.age = age}let c = new Person(Dennis, 22)console.log(c) //Person { name: 'Dennis', age: 22 }