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

iOS工程师面试深入浅出- 物件导向的三大特性?

iOS工程师面试深入浅出- 物件导向的三大特性? 这题乍看之下是很本科系的问题,但事实上,当你在开发的过程中其实一直用到物件导向的概念。因为你平

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)代表管理意图。一旦制定或製定了战略,就会发布策略

C# 侦错

侦错 监看,暂停时才能使用 逐步侦错 可搭配监视一起使用,追值(下方) 寻找 跨档案寻找code

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 }