「Javascript」の版間の差分
細編集の要約なし |
|||
(同じ利用者による、間の1版が非表示) | |||
164行目: | 164行目: | ||
* [[Acad.SystemVariable.postValue]] | * [[Acad.SystemVariable.postValue]] | ||
* [[Acad.SystemVariable.setValue]] | * [[Acad.SystemVariable.setValue]] | ||
</div> | |||
== AutoCAD 2016 の javascript(v3) API== | |||
https://df-prod.autocad360.com/jsapi/v3/docs/index.html | |||
<div class="mcol3"> | |||
* [[ACAD Namespace]] | |||
* [[Acad.Application]] | |||
* [[Acad.Application.activedocument.addPalette]] | |||
* [[Acad.Application.activedocument.capturePreview]] | |||
* [[Acad.Application.activedocument.getContacts]] | |||
* [[Acad.Application.activedocument.getHandle]] | |||
* [[Acad.Application.activedocument.getObjectSet]] | |||
* [[Acad.Application.activedocument.highlight]] | |||
* [[Acad.Application.activedocument.isCloudFileOwner]] | |||
* [[Acad.Application.activedocument.loginA360]] | |||
* [[Acad.Application.activedocument.saveSync]] | |||
* [[Acad.Application.activedocument.shareDrawing]] | |||
* [[Acad.Application.activedocument.startObserving]] | |||
* [[Acad.Application.activedocument.stopObserving]] | |||
* [[Acad.Application.activedocument.unhighlight]] | |||
* [[ACAD.Application.addDocWindow]] | |||
* [[Acad.Application.modalDialogCommit]] | |||
* [[Acad.Application.showHTMLDialog]] | |||
* [[Acad.Application.showModalDialog]] | |||
* [[Acad.Bounds3d]] | |||
* [[Acad.CommandFlag]] | |||
* [[Acad.CursorType]] | |||
* [[Acad.DataItem]] | |||
* [[Acad.DataItem.getProperties]] | |||
* [[Acad.DataItemCollection]] | |||
* [[Acad.DataItemCollection.addEventListener@eventname@fn]] | |||
* [[Acad.DataItemCollection.eventname]] | |||
* [[Acad.DataItemCollection.getName]] | |||
* [[Acad.DataItemCollection.removeEventListener@eventname@fn]] | |||
* [[Acad.DataItemCollectionManager]] | |||
* [[Acad.DataItemCollectionManager.getKnownCollection@colName@onComplete@onError]] | |||
* [[Acad.DBEntity]] | |||
* [[Acad.DBEntity.getExtents]] | |||
* [[Acad.DBEntity.getProperties]] | |||
* [[Acad.DragCursor]] | |||
* [[Acad.DragStatus]] | |||
* [[Acad.DrawJig]] | |||
* [[Acad.DrawJig.update]] | |||
* [[Acad.Editor.addCommand]] | |||
* [[Acad.Editor.cancelCommand]] | |||
* [[Acad.Editor.CurrentViewport]] | |||
* [[Acad.Editor.CurrentViewport.dolly]] | |||
* [[Acad.Editor.CurrentViewport.getViewport]] | |||
* [[Acad.Editor.CurrentViewport.getViewProperties]] | |||
* [[Acad.Editor.CurrentViewport.orbit]] | |||
* [[Acad.Editor.CurrentViewport.pan]] | |||
* [[Acad.Editor.CurrentViewport.pointToScreen]] | |||
* [[Acad.Editor.CurrentViewport.pointToWorld]] | |||
* [[Acad.Editor.CurrentViewport.roll]] | |||
* [[Acad.Editor.CurrentViewport.setView]] | |||
* [[Acad.Editor.CurrentViewport.ucsToWorld]] | |||
* [[Acad.Editor.CurrentViewport.worldToUCS]] | |||
* [[Acad.Editor.CurrentViewport.zoom]] | |||
* [[Acad.Editor.CurrentViewport.zoomExtents]] | |||
* [[Acad.Editor.CurrentViewport.zoomWindow]] | |||
* [[Acad.Editor.drag]] | |||
* [[Acad.Editor.executeCommand]] | |||
* [[Acad.Editor.executeCommandAsync]] | |||
* [[Acad.Editor.getAngle]] | |||
* [[Acad.Editor.getCorner]] | |||
* [[Acad.Editor.getDistance]] | |||
* [[Acad.Editor.getDouble]] | |||
* [[Acad.Editor.getEntity]] | |||
* [[Acad.Editor.getInteger]] | |||
* [[Acad.Editor.getKeywords]] | |||
* [[Acad.Editor.getNestedEntity]] | |||
* [[Acad.Editor.getPoint]] | |||
* [[Acad.Editor.getSelection]] | |||
* [[Acad.Editor.getString]] | |||
* [[Acad.Editor.isQuiescent]] | |||
* [[Acad.Enum_Projection]] | |||
* [[Acad.ErrorStatus]] | |||
* [[Acad.getId]] | |||
* [[Acad.isInteger]] | |||
* [[Acad.isNumber]] | |||
* [[Acad.Jig]] | |||
* [[Acad.JigPromptAngleOptions]] | |||
* [[Acad.JigPromptDistanceOptions]] | |||
* [[Acad.JigPromptGeometryOptions]] | |||
* [[Acad.JigPromptOptions]] | |||
* [[Acad.JigPromptPointOptions]] | |||
* [[Acad.JigPromptStringOptions]] | |||
* [[Acad.Matrix3d]] | |||
* [[Acad.OSet]] | |||
* [[Acad.OSet.add]] | |||
* [[Acad.Oset.clear]] | |||
* [[Acad.Oset.contains]] | |||
* [[Acad.Oset.getAllIds]] | |||
* [[Acad.Oset.getCount]] | |||
* [[Acad.Oset.getId]] | |||
* [[Acad.Oset.indexOf]] | |||
* [[Acad.OSet.remove]] | |||
* [[Acad.Point2d]] | |||
* [[Acad.Point3d]] | |||
* [[Acad.Promise]] | |||
* [[Acad.Promise.then]] | |||
* [[Acad.PromptAngleOptions]] | |||
* [[Acad.PromptCornerOptions]] | |||
* [[Acad.PromptDistanceOptions]] | |||
* [[Acad.PromptDoubleOptions]] | |||
* [[Acad.PromptDoubleResult]] | |||
* [[Acad.PromptEditorOptions]] | |||
* [[Acad.PromptEntityOptions]] | |||
* [[Acad.PromptEntityOptions.addAllowedClass]] | |||
* [[Acad.PromptEntityOptions.removeAllowedClass]] | |||
* [[Acad.PromptEntityResult]] | |||
* [[Acad.PromptIntegerOptions]] | |||
* [[Acad.PromptIntegerResult]] | |||
* [[Acad.PromptKeywordOptions]] | |||
* [[Acad.PromptNestedEntityOptions]] | |||
* [[Acad.PromptNestedEntityResult]] | |||
* [[Acad.PromptNumericalOptions]] | |||
* [[Acad.PromptOptions]] | |||
* [[Acad.PromptOptions.setMessageAndKeywords]] | |||
* [[Acad.PromptPointOptions]] | |||
* [[Acad.PromptPointResult]] | |||
* [[Acad.PromptResults]] | |||
* [[Acad.PromptSelectionOptions]] | |||
* [[Acad.PromptSelectionResult]] | |||
* [[Acad.PromptStatus]] | |||
* [[Acad.PromptStringOptions]] | |||
* [[Acad.Rectangle2d]] | |||
* [[Acad.ResultValueType]] | |||
* [[Acad.SelectedObject]] | |||
* [[Acad.SystemVariable]] | |||
* [[Acad.SystemVariable.postValue]] | |||
* [[Acad.SystemVariable.setValue]] | |||
* [[Acad.SystemVariableCollection]] | |||
* [[Acad.SystemVariableCollection.addEventListener]] | |||
* [[Acad.SystemVariableCollection.getSystemVariable]] | |||
* [[Acad.SystemVariableCollection.removeEventListener]] | |||
* [[Acad.TaskDialog.showDeleteConfirmationTaskDialog]] | |||
* [[Acad.TaskDialog.showTaskDialog]] | |||
* [[Acad.TaskDialogButton]] | |||
* [[Acad.TaskDialogResult]] | |||
* [[Acad.Transient]] | |||
* [[Acad.Transient.addEventListener]] | |||
* [[Acad.Transient.removeEventListener]] | |||
* [[Acad.TransientManager]] | |||
* [[Acad.TransientManager.addTransient]] | |||
* [[Acad.TransientManager.eraseTransient]] | |||
* [[Acad.TransientManager.eraseTransients]] | |||
* [[Acad.TransientManager.getCursor]] | |||
* [[Acad.TransientManager.showTransients]] | |||
* [[Acad.TransientManager.updateTransient]] | |||
* [[Acad.UserInputControls]] | |||
* [[Acad.Vector2d]] | |||
* [[Acad.Vector3d]] | |||
* [[Acad.ViewProperties]] | |||
</div> | </div> |
2015年7月2日 (木) 10:00時点における最新版
AutoCAD 2014 より導入された API
- まだJavascript始めました!な感じなので、用途は限定的といえる。(2013年現在)
- LISPからだと (webload, uriOfHtml) で HTMLページをロードして JavaScriptコードを実行。
AutoCAD 2014 Javascript (v1) API
http://app.autocad360.com/jsapi/v2/docs/index.html
- Acad.DragStatus
- Acad.DrawJig
- Acad.DrawJig.update
- Acad.Editor.addCommand
- Acad.Editor.cancelCommand
- Acad.Editor.CurrentViewport
- Acad.Editor.CurrentViewport.dolly
- Acad.Editor.CurrentViewport.getViewport
- Acad.Editor.CurrentViewport.getViewProperties
- Acad.Editor.CurrentViewport.orbit
- Acad.Editor.CurrentViewport.pan
- Acad.Editor.CurrentViewport.pointToScreen
- Acad.Editor.CurrentViewport.pointToWorld
- Acad.Editor.CurrentViewport.roll
- Acad.Editor.CurrentViewport.setView
- Acad.Editor.CurrentViewport.ucsToWorld
- Acad.Editor.CurrentViewport.worldToUCS
- Acad.Editor.CurrentViewport.zoom
- Acad.Editor.CurrentViewport.zoomExtents
- Acad.Editor.CurrentViewport.zoomWindow
- Acad.Editor.drag
- Acad.Editor.executeCommand
- Acad.Editor.executeCommandAsync
- Acad.Editor.getAngle
- Acad.Editor.getCorner
- Acad.Editor.getDistance
- Acad.Editor.getDouble
- Acad.Editor.getEntity
- Acad.Editor.getInteger
- Acad.Editor.getKeywords
- Acad.Editor.getNestedEntity
- Acad.Editor.getPoint
- Acad.Editor.getSelection
- Acad.Editor.getString
- Acad.Editor.isQuiescent
- Acad.Enum_Projection
- Acad.ErrorStatus
- Acad.getId
- Acad.isInteger
- Acad.isNumber
- Acad.Jig
- Acad.JigPromptAngleOptions
- Acad.JigPromptDistanceOptions
- Acad.JigPromptGeometryOptions
- Acad.JigPromptOptions
- Acad.JigPromptPointOptions
- Acad.JigPromptStringOptions
- Acad.Matrix3d
- Acad.OSet
- Acad.OSet.add
- Acad.Oset.clear
- Acad.Oset.contains
- Acad.Oset.getAllIds
- Acad.Oset.getCount
- Acad.Oset.getId
- Acad.Oset.indexOf
- Acad.OSet.remove
- Acad.Point2d
- Acad.Point3d
- Acad.Promise
- Acad.Promise.then
- Acad.PromptAngleOptions
- Acad.PromptCornerOptions
- Acad.PromptDistanceOptions
- Acad.PromptDoubleOptions
- Acad.PromptDoubleResult
- Acad.PromptEditorOptions
- Acad.PromptEntityOptions
- Acad.PromptEntityOptions.addAllowedClass
- Acad.PromptEntityOptions.removeAllowedClass
- Acad.PromptEntityResult
- Acad.PromptIntegerOptions
- Acad.PromptIntegerResult
- Acad.PromptKeywordOptions
- Acad.PromptNestedEntityOptions
- Acad.PromptNestedEntityResult
- Acad.PromptNumericalOptions
- Acad.PromptOptions
- Acad.PromptOptions.setMessageAndKeywords
- Acad.PromptPointOptions
- Acad.PromptPointResult
- Acad.PromptResults
- Acad.PromptSelectionOptions
- Acad.PromptSelectionResult
- Acad.PromptStatus
- Acad.PromptStringOptions
- Acad.Rectangle2d
- Acad.ResultValueType
- Acad.SelectedObject
- Acad.SystemVariableCollection
- Acad.SystemVariableCollection.getSystemVariable
- Acad.SystemVariableCollection.SystemVariable
- Acad.SystemVariableCollection.SystemVariable.addEventListener
- Acad.SystemVariableCollection.SystemVariable.postValue
- Acad.SystemVariableCollection.SystemVariable.removeEventListener
- Acad.TaskDialog.showDeleteConfirmationTaskDialog
- Acad.TaskDialog.showTaskDialog
- Acad.TaskDialogButton
- Acad.TaskDialogResult
- Acad.Transient
- Acad.Transient.addEventListener
- Acad.Transient.removeEventListener
- Acad.TransientManager
- Acad.TransientManager.addTransient
- Acad.TransientManager.eraseTransient
- Acad.TransientManager.eraseTransients
- Acad.TransientManager.getCursor
- Acad.TransientManager.showTransients
- Acad.TransientManager.updateTransient
- Acad.UserInputControls
- Acad.Vector2d
- Acad.Vector3d
- Acad.ViewProperties
AutoCAD 2015 で追加された javascript(v2) API
http://app.autocad360.com/jsapi/v2/docs/index.html
- ACAD Namespace
- Acad.Application
- Acad.Application.activedocument.addPalette
- Acad.Application.activedocument.capturePreview
- Acad.Application.activedocument.getContacts
- Acad.Application.activedocument.getHandle
- Acad.Application.activedocument.getObjectSet
- Acad.Application.activedocument.highlight
- Acad.Application.activedocument.isCloudFileOwner
- Acad.Application.activedocument.loginA360
- Acad.Application.activedocument.saveSync
- Acad.Application.activedocument.shareDrawing
- Acad.Application.activedocument.startObserving
- Acad.Application.activedocument.stopObserving
- Acad.Application.activedocument.unhighlight
- ACAD.Application.addDocWindow
- Acad.Application.modalDialogCommit
- Acad.Application.showHTMLDialog
- Acad.Application.showModalDialog
- Acad.Bounds3d
- Acad.CommandFlag
- Acad.CursorType
- Acad.DataItem
- Acad.DataItem.getProperties
- Acad.DataItemCollection
- Acad.DataItemCollection.addEventListener@eventname@fn
- Acad.DataItemCollection.eventname
- Acad.DataItemCollection.getName
- Acad.DataItemCollection.removeEventListener@eventname@fn
- Acad.DataItemCollectionManager
- Acad.DataItemCollectionManager.getKnownCollection@colName@onComplete@onError
- Acad.DBEntity
- Acad.DBEntity.getExtents
- Acad.DBEntity.getProperties
- Acad.DragCursor
- Acad.SystemVariable
- Acad.SystemVariable.postValue
- Acad.SystemVariable.setValue
AutoCAD 2016 の javascript(v3) API
https://df-prod.autocad360.com/jsapi/v3/docs/index.html
- ACAD Namespace
- Acad.Application
- Acad.Application.activedocument.addPalette
- Acad.Application.activedocument.capturePreview
- Acad.Application.activedocument.getContacts
- Acad.Application.activedocument.getHandle
- Acad.Application.activedocument.getObjectSet
- Acad.Application.activedocument.highlight
- Acad.Application.activedocument.isCloudFileOwner
- Acad.Application.activedocument.loginA360
- Acad.Application.activedocument.saveSync
- Acad.Application.activedocument.shareDrawing
- Acad.Application.activedocument.startObserving
- Acad.Application.activedocument.stopObserving
- Acad.Application.activedocument.unhighlight
- ACAD.Application.addDocWindow
- Acad.Application.modalDialogCommit
- Acad.Application.showHTMLDialog
- Acad.Application.showModalDialog
- Acad.Bounds3d
- Acad.CommandFlag
- Acad.CursorType
- Acad.DataItem
- Acad.DataItem.getProperties
- Acad.DataItemCollection
- Acad.DataItemCollection.addEventListener@eventname@fn
- Acad.DataItemCollection.eventname
- Acad.DataItemCollection.getName
- Acad.DataItemCollection.removeEventListener@eventname@fn
- Acad.DataItemCollectionManager
- Acad.DataItemCollectionManager.getKnownCollection@colName@onComplete@onError
- Acad.DBEntity
- Acad.DBEntity.getExtents
- Acad.DBEntity.getProperties
- Acad.DragCursor
- Acad.DragStatus
- Acad.DrawJig
- Acad.DrawJig.update
- Acad.Editor.addCommand
- Acad.Editor.cancelCommand
- Acad.Editor.CurrentViewport
- Acad.Editor.CurrentViewport.dolly
- Acad.Editor.CurrentViewport.getViewport
- Acad.Editor.CurrentViewport.getViewProperties
- Acad.Editor.CurrentViewport.orbit
- Acad.Editor.CurrentViewport.pan
- Acad.Editor.CurrentViewport.pointToScreen
- Acad.Editor.CurrentViewport.pointToWorld
- Acad.Editor.CurrentViewport.roll
- Acad.Editor.CurrentViewport.setView
- Acad.Editor.CurrentViewport.ucsToWorld
- Acad.Editor.CurrentViewport.worldToUCS
- Acad.Editor.CurrentViewport.zoom
- Acad.Editor.CurrentViewport.zoomExtents
- Acad.Editor.CurrentViewport.zoomWindow
- Acad.Editor.drag
- Acad.Editor.executeCommand
- Acad.Editor.executeCommandAsync
- Acad.Editor.getAngle
- Acad.Editor.getCorner
- Acad.Editor.getDistance
- Acad.Editor.getDouble
- Acad.Editor.getEntity
- Acad.Editor.getInteger
- Acad.Editor.getKeywords
- Acad.Editor.getNestedEntity
- Acad.Editor.getPoint
- Acad.Editor.getSelection
- Acad.Editor.getString
- Acad.Editor.isQuiescent
- Acad.Enum_Projection
- Acad.ErrorStatus
- Acad.getId
- Acad.isInteger
- Acad.isNumber
- Acad.Jig
- Acad.JigPromptAngleOptions
- Acad.JigPromptDistanceOptions
- Acad.JigPromptGeometryOptions
- Acad.JigPromptOptions
- Acad.JigPromptPointOptions
- Acad.JigPromptStringOptions
- Acad.Matrix3d
- Acad.OSet
- Acad.OSet.add
- Acad.Oset.clear
- Acad.Oset.contains
- Acad.Oset.getAllIds
- Acad.Oset.getCount
- Acad.Oset.getId
- Acad.Oset.indexOf
- Acad.OSet.remove
- Acad.Point2d
- Acad.Point3d
- Acad.Promise
- Acad.Promise.then
- Acad.PromptAngleOptions
- Acad.PromptCornerOptions
- Acad.PromptDistanceOptions
- Acad.PromptDoubleOptions
- Acad.PromptDoubleResult
- Acad.PromptEditorOptions
- Acad.PromptEntityOptions
- Acad.PromptEntityOptions.addAllowedClass
- Acad.PromptEntityOptions.removeAllowedClass
- Acad.PromptEntityResult
- Acad.PromptIntegerOptions
- Acad.PromptIntegerResult
- Acad.PromptKeywordOptions
- Acad.PromptNestedEntityOptions
- Acad.PromptNestedEntityResult
- Acad.PromptNumericalOptions
- Acad.PromptOptions
- Acad.PromptOptions.setMessageAndKeywords
- Acad.PromptPointOptions
- Acad.PromptPointResult
- Acad.PromptResults
- Acad.PromptSelectionOptions
- Acad.PromptSelectionResult
- Acad.PromptStatus
- Acad.PromptStringOptions
- Acad.Rectangle2d
- Acad.ResultValueType
- Acad.SelectedObject
- Acad.SystemVariable
- Acad.SystemVariable.postValue
- Acad.SystemVariable.setValue
- Acad.SystemVariableCollection
- Acad.SystemVariableCollection.addEventListener
- Acad.SystemVariableCollection.getSystemVariable
- Acad.SystemVariableCollection.removeEventListener
- Acad.TaskDialog.showDeleteConfirmationTaskDialog
- Acad.TaskDialog.showTaskDialog
- Acad.TaskDialogButton
- Acad.TaskDialogResult
- Acad.Transient
- Acad.Transient.addEventListener
- Acad.Transient.removeEventListener
- Acad.TransientManager
- Acad.TransientManager.addTransient
- Acad.TransientManager.eraseTransient
- Acad.TransientManager.eraseTransients
- Acad.TransientManager.getCursor
- Acad.TransientManager.showTransients
- Acad.TransientManager.updateTransient
- Acad.UserInputControls
- Acad.Vector2d
- Acad.Vector3d
- Acad.ViewProperties