Localhost server based Macro system

ALL these macros are executed as JSONP (so you can use the localhost server on any web page, even those on regular Internet websites) ALL these macros use the “GET” method, and do not return any sensible values (may change in future version of this fetaure)

Assuming you have started the localhost server from your TAD running at 9600 port, the general syntax for calling any macro is :

https://localhost:9600?actHelpContents Will make TAD display the help contents. The return Javascript function that is called is always the following function call:

doneTAD(Debug)

where Debug is a Javascript Object array; which in this version is simply the data the server had received in its header. So if you want to use it as JSONP, then ensure that you define a function in javascript in your webpage before using the localhost server.

Some of the macro functions require some additional data. Explained in the list shown below.

Since many of these macros would run ONLY when there is some TAD model being edited, it is best that the macros are started AFTER you have started a new or loaded a previous TAD model.

The macros can be chained together, delimited by the pipe character (|)

If you just called the server thus: https://localhost:9600 (i.e. without the query_string parameter) then it will simply call the tutorials

Special old macros
td@<Various old TAD ProtocolCommands>

Special macro for the command line
cmd:<string>:<prompt>:CR

Special macro for moving architect by no of steps
arch:<xSteps>:<ySteps>

SelectClass
HideClass
ViewThisClass
ViewOnlyClass
ViewOnlyClassSubclass
AddClass
DeleteClass
EditArdela

EditObjArdela
DeleteShape
ConvertToClockwise
ConvertToAntiClockwise
ShowObjectNotes

Setting Quick Ardela

SetProjProp
SetClassProp
SetObjProp
SetObjArdela
SetClassArdelaInh
SetClassArdelaNonInh

Informtion Pane

Sheet1
Sheet2
Sheet3
Sheet4

act3D
act3DOpts
actGpEditor
actZoomDn
actZoomUp
actPan
actSeeback
actZoomAll
actNavigator
actUndo
actCopy
actPaste
actCopyClass
actCreateClassFromClipboard
actPasteClass
actRedo
actMirrorImage
actImportShapesFromCb
actProid
actShowrRecycleBin
actEmptyBin

actSave
actCloseFile
actSaveAs
actSaveAsAscii
actOpenFile
actNewFile
actPrefs
actInternalData
actDesignCad
actExport
actVLight
actPrintPreview
actIssueTracker
actObjNotes
actExportAsCode

actCalc
actHelpContents
actTip
actProjBug
actAbout
actOfficeChat
actArdHelp
actTeamTad
actArchData
actReadme
actBugAction
actChat
actCheckUpdate
actTadNews
actTwitter
actDonate
actCommunity
actTadBlog
actTadPublicChat
actTutor

actGoArdela
actGoLeft
actGoRight

actSubstitution
actCreateobjNew
actCreateOutline
actXReflect
actYReflect
actMerge
actEnvelope
actBreakObj
actArray
actPolar
actReflect
actCreateParametric
actPolyline
actDXF

actAddCorner
actShiftCorner
actDelCorner
actStretchSide
actExtrudeSide
actMoveObject
actRotateObject
actDelObjects
actShowCommandLine
actRemoveParent
actRemoveChilds
actParamProps

actSnap1
actSnap2
actSnapPerp
actSnapCorner

actSelectMode
actSelectNone
actSelectPrevious
actSelectAll
actSelectClass
actHideClass
actViewClass
actViewOnly
actViewClassPlus
actHideSelection
actViewAll
actSuspendSel

ActWindowArrange
ActWindowCascade
ActWindowClose
ActWindowMinimizeAll
ActWindowTileVertical
ActWindowTileHorizontal
ActWindowTileHorizontal


Press F1 inside the application to read context-sensitive help directly in the application itself
Last modified: le 2023/04/22 20:59