documentation
.HELP!
LUA Documentation
clear
LUA
previous page
next page
clear
QS Informatica - Manuale LUA
››
Editor Distinte (DED_DIST)
››
Funzioni esterne
››
clear
DEDDIST.clear()
Cancella tutto il contenuto della griglia.
previous page
start
next page
Menu
Homepage
Table of contents
QS Informatica - Manuale LUA
Introduzione
Copyright
Lua Standard Library
Introduzione
Basics
Basic Function Library
_ALERT
assert
call
collectgarbage
copytagmethods
doflle
dostring
error
foreach
foreachi
getglobal
getn
gettagmethod
globals
newtag
next
print
rawget
rawset
setglobal
settag
settagmethod
sort
tag
tonumber
tostring
tinsert
tremove
type
String Manipulation Library
strbyte
strchar
strflnd
strlen
strlower
strrep
strsub
strupper
format
gsub
Mathematical Function Library
math_func
trig_func
PI
max
min
random
randomseed
Input/Output Library
_INPUT
_OUTPUT
_STDIN
_STDOUT
_STDERR
openflle
closeflle
readfrom
writeto
appendto
remove
rename
fiush
seek
tmpname
read
write
System Facilities
clock
date
execute
exit
getenv
setlocale
Pattern Matching
LUA - QS
Introduzione
Stringhe
strlen
stricmp
strstr
strstri
substr
strlast
strupr
strlwr
strspn
strcspn
trimLeft
trimRight
strsubst
strtrans
strSplitFixed
strSplitDelim
strSplitCdf
strsxdx
strfill
padLeft
strrev
sprintf
base64enc
base64dec
strquote
Espressioni Regolari (RegExp)
RegExp
match
matchall
split
get
getAfter
getLength
Manipolazione Liste
lualist.cat
lualist.keys
lualist.values
lualist.ilookup
lualist.join
lualist.find
lualist.indexof
lualist.reverse
lualist.filter
lualist.map
lualist.merge
lualist.select
lualist.erase_n
lualist.asCdf
issequence
File Names
catpath
FnGetPath
FnGetName
FnGetExt
FnChangeExt
FilePathSearch
FnToAbsolute
FnUncNormalize
FnIsEqual
luafullpath
tempfilename
GetShortPathName
GetSpecialFolder
Files
FileExists
FileIsDirectory
FileDateGet
FileDateSet
FileSizeGet
FileAge
IsFileNewer
GetFileAttributes
SetFileAttributes
IsFileLocked
FileCopy
FileMove
fopen
getstdhandle
popen
close
seek
puts
writeLine
readLine
serialize
binWrite
eof
flush
pclose
Directories
getcwd
mkdir
rmdir
chdir
NewDirIterator
skipDotDir
next
getFullName
getName
getAttributes
getSize
isDir
isDotDir
isHidden
close
dirscanner
Windows
alert
FileMultiSel
GetFileNameIn
GetFileNameOut
BrowseForFolder
MessageBox
InputBox
ListChoice
WinToggles
dbgPrint
IsConsole
GetComputerName
GetUserName
IsWin64
IsProcess64
GetCurrProcessId
FindWindow
SetForegroundWindow
WinDropFiles
NetSend
WinExec
ShellExecute
ShFileOperation
RegGetValue
RegSetValue
RegDelValue
RegGetSubKeys
RegGetValueNames
UuidCreate
Windows ClipBoard
clip.getText
clip.setText
clip.clear
Windows COM
CreateObject
GetActiveObject
makevariant
COM.addRef
COM.free
proprieta
call
get
Date
DateToJulian
Julian2Date
Julian2Dow
DateToday
TimeNow
localtime
Bit/Bytes
bitxor
bitand
bitor
GetLocaleInfo
LuaSearchPath
dofile
dofilemulti
require
loadlib
globals
gc
assert
tagname
beep
delay
Matematiche
abs
sin
cos
tan
atan
rad
deg
floor
ceil
sqrt
log
log10
mod
max
min
modf
random
round
itoa
Mix
getenv
setenv
GetLocaleInfo
LuaSearchPath
dofile
dofilemulti
require
loadlib
globals
gc
setgclimit
assert
tagname
beep
delay
NullFunction
Console
perror
SetConsoleTitle
Eventi
LuaAddEvent
LuaStartEvent
AutoCAD
Introduzione
Funzioni Globali
print
AcadSendMsg2
AcadSendMsg2NoCanc
command
usrbrk
dwgopen
SetDwgProp
GetDwgProp
menucmd
foreach_block
wcmatch
AcadRegisterCommand
AcadDxfOut
getfiled
xload
LookupArxCommand
acad_colordlg
acad_truecolordlg
rgbColorTo420DxfCode
rgb
snvalid
textscr
graphscr
acad_torgb
initBlockRefObj
initLuaResbuf
initQsSelSet
initLuaPoint
initDrawStyle
initLuaEntity
IMSG
Variabili
getvar
setvar
setvarmulti
CurrentDwgName
acad_setdwgreadonly
acad_setdwgwritable
DbModPush
DbModPop
UpdateExtVars
Punti
Point
getpoint
getcorner
inters
clone
getX
getY
getZ
setX
setY
setZ
polar
moverel
angle
distanceTo
midTo
equalTo
osnap
asString
Entità
entsel
entlast
handent
entmake
entmakex
tblobjname
equalTo
dxfName
proxyClass
className
entnext
erase
entupd
getColor
setColor
redraw
grdraw
setLineType
explode
GetCurveLength
GetCurveArea
getPreview
getBlockAttributes
getBlockAttributes
activeDynBlkReactor
dynBlkReactorStatus
entget
getNextEnts
textbox
setLayer
getExtDict
delExData
regapp
command_entpoint
Entità 3D
getVolume
add3DSolid
sub3DSolid
inters3DSolid
cleanBody
offsetBody
Entità \ Liste di associazione
entget
entmod
entfirst
tblnext
tblsearch
count
shift
assoc
nth
setnth
set
append
entmod
del
Selection-Set
new
usersel
all
filter
ssget
Unknown
count
add
del
free
has
item
apply
draggen
intersect
getBox
extent
insert
makeBlock
Funzioni per il disegno delle entità
NewDrawStyle
TopNewDrawStyle
line
line2
arc
arc2
arc3
arc32
circle
circle2
circleD
circle2P
polyline
polyline2
clone
setColor
setLineType
apply
setVars
text2
Blocchi
addAttribute
insert
GetAllBlocksPreview
Blocchi Dinamici
DynBlk
initCDynBlk
IsDynBlkLoaded
sendCommandToAcad
setPropertyValue
getPropertyValue
getProperties
convertToStaticBlock
isPropertyReadOnly
isPropertyVisible
getPropertyType
getPropertyDescription
getPropertyAllowedValues
resetBlock
effectiveName
dumpPropertyType
activeDynBlkReactor
enableReactors
deactiveDynBlkReactor
disableReactors
Dati estesi (DXF Code)
append
shift
regapp
delExData
Dizionari
namedobjdict
dictsearch
dictnext
dictrename
dictremove
dictadd
Gruppi
group2selset
grouplist
groupnew
groupaddent
groupdelent
grouprename
groupsetcolor
groupgetdescription
Input Utente
initget
getstring
getreal
getkword
getdist
getangle
Layers
mklayer
LayerGetInfo
LayerSetInfo
Tabelle AutoCAD (PallCart.Arx)
TopDrawAcadTable
Eventi
Modulo Parti (TopPrt.arx)
Introduzione
Oggetto Parte
top_ptop
top_pcur
getParent
setParent
ancestors
getName
setName
getAttr
getAllAttr
setAttr
delAttr
getBasePoint
setBasePoint
activate
new
getEntities
xform
getBox
isEmpty
redraw
isVisible
aggr
explode
erase
isChildOf
hasChildren
isTop
foreach
foreach1
moveBefore
moveAfter
find
findLayer
load
save
copy
setBlockAttributes
isLocked
isLockedParent
isLockedRec
setIsLocked
hide
show
setLayerStatus
getLayerStatus
getSpotlightColor
setSpotlightColor
prtGetBrotherPrev
asString
_p
_fromp
getSiblingPos
Oggetto PrtArray
NewPrtArray
add
count
getAt
apply
show
explode
lman
diff
getEntities
getBox
findFirst
Distinta
TopBomDlg
TopDlgDist OBSOLETA (rimossa nella v.10)
TopGetBomData
Globali
top_prtfroment
top_prtselect
top_spotlight
top_updspotlight
top_prtfullpath
top_envfullpath
top_prtselectmulti
TopEntSelPrt
Eventi
Navigator (Navigator.arx)
Introduzione
API LUA (Obsolete)
NavigatorMode
TreeMode
LNavFreezeTree
LNavGetTreeSelectedItems
LNavGetNavSelectedItems
LNavGetClippedParts [Internal use]
LNavGetNewParentsParts [Internal use]
LNavSetTreeItemText
LNavSetTreeItemBold
LNavSetTreeItemItalic
LNavSetTreeItemUnderline
LNavSetTreeItemColor
LNavUpdateTree
LNavRefreshPartLabel
LNavTreeSetPartVisible
LNavTreeSelectItem
API LUA (NEW)
GetNavigator
Personalizzazione Menù
addMenuItem
Personalizzazione Tooltip
setTooltipColorBk
setTooltipClassic
setTooltipBallooned
showMessageTooltip
Personalizzazione Albero Parti
freezeTree
thawTree
showTree
hideTree
getTreeSelectedItems
getClippedParts
setTreeItemText
setTreeItemBold
setTreeItemItalic
setTreeItemColorByAcad
setTreeItemColor(prt, r, g, b)
Metodi Generici
enableSmartPointer
disableSmartPointer
Command Watcher
cmdWatchStart
cmdWatchStop
cmdWatcherOn
cmdWatcherOff
sendCommandToAcad
showMessageToaster
Pallinatura\Cartiglio (PallCart.arx)
Introduzione
Pallinatura & Cartiglio
top_discart
top_updcart
top_distab
top_aggtab
top_updtab
top_getWorkingTabStyleName
topGetCurrentPosAttr
top_pallprt
top_pallprtmulti
top_aggblkpall
top_delpallpart
PallCart_GetSsLeaderConPall
top_eticprt
top_eticprtmulti
TopGetLabelInfo
Top_SetShowAlertPrtAlreadyPall
Top_GetShowAlertPrtAlreadyPall
Stili di Pallinatura
GetPallCartStyles
<stylesManager>:getAllStyleNames
<stylesManager>:getCurrentStyle
<stylesManager>:getStyle
<style>:getName
<style>:getPosAttr
<style>:getPrsFullPath
<style>:rename
<style>:activate
<style>:getBalloons
<style>:getTable
<style>:close
Eventi
Categorie (Categories.arx)
Introduzione
API LUA
Categories
addCategory
explodeCategory
hasCategory
getCategoryFromEnt
getCategoryEntities
addCategoryEntities
delCategoryEntities
setCategoryVisibility
setCategoriesVisibility
isCategoryVisible
getCategories
isNameSafe
renameCategory
getDefaultCategory
LUA-ADO
Introduzione
Ado_Database
NewAdoDb
open
asString
execute
getSchema
close
newRecordset
lastError
Ado_RecordSet
open
close
getRecordCount
isFieldNull
getFieldValue
getFieldValueStr
getFieldInfo
asTable
isEof
isEmpty
addNew
edit
update
cancelUpdate
delete
setFieldValue
moveFirst
moveNext
isOpen
getFieldCount
getFieldName
getFieldIndex
saveXML
find
Funzioni Varie
SqlQuoteString
Data & Drawings
Introduzione
Variabili Globali
Funzioni esterne
selectDb
cod2File
cod2Files
code2Type
file2Code
findCode
findCodeLastVersion
isLastVersion
listAllVersions
eraseDoc
eraseDocUser
getAttachDir
cod2AttachDir
appendRecord
bomLoad
bomDelete
writeRecord
AcadDedSave
Funzioni di Supporto D&D
loadAllAttribs
getDedDisPrompt
isDocInDb
updateAttribInDb
Funzioni di Codifica
decodeStr
getCode
getFile
getFileComplete
makeFileName
findNewVersion
Oggetto DedType
asString
dbpath
desc
name
getParent
filePath
enumAttribs
enumSubTypes
findByPath
findAttr
getData
getProgr
filePath
setProgr
prompt2name
name2prompt
getCodeMask
getFileMask
hasChildren
addSubType
isFreeCode
isProject
Oggetto DedAttr
name
prompt
type
length
lua
Gestione allegati
Introduzione
DedAttachList
newDedAttachList
refresh
count
item
getCode
setCode
getFile
setFile
asString
save
find
add
remove
DedAttachListItem
getCode
getFullName
isDirectory
getShortName
isMainDocument
asString
Editor Distinte (DED_DIST)
Introduzione
Variabili Globali
Funzioni esterne
start
addcol
addrow
set
getValue
clear
getNumRows
getCode
setCode
colBlock
setReadOnly
CallBacks
init
onload
onsave
GetBomAll
getBomCfgPrompts
onexport
Eventi
Utility
Introduzione
DlgCancOp
newDlgCancOp
Open
isOpen
Step
Message
.Close
LOG
newLOG
writeString
writeStringLine
writeError
writeErrorLine
count
totalCount
getFileName
setFileName
getFileExt
setFileExt
getFilePath
setFilePath
getFullFileName
setFullFileName
getShowMode
setShowMode
close
show
delete
QSEditList
QSEditList
QSSelLista
MOP
MOP.Open
MOP.impostaSDI
MOP.cod2File
MOP.fileSelect
MOP.ListFromFileFixed
PDF
PDF.concat
PDF.concatMulti
Finestra di Dialogo .NET (PalDialog.dll)
Introduzione
Oggetto Dialogo
SetPalNew
Gestione dialogo
setWidth
setHeight
setModal
setTitle
getTitle
setIcon
setExtraButton
setBtnOkVisible
setBtnCancVisible
show
hide
Gestione griglia
rowSelected
fitColumn
setColumnWidth
setSelectionMode
setSelectionRowColor
setCurrentRowAndColor
getCellValue
addColumnsHeader
addColumnHeader
addRow
getSelRows
setAllColumnsSortable
setColumnSortable
columnsResizeable
Gestione eventi
onOk
onCanc
onExtra
onDblClick
onCellClick
LuaGridDlg
Introduzione
Funzioni
GridDlg
addRow
addCol
removeLastRow
next
cr
autoWidth
enable
disable
setName
zone
Funzioni per la definizione dei Controlli
makeStatic
makeInputNum
makeInputStr
makeCombo
makeButton
setLockedZone
asText
seldata
setText
setNumber
setColors
enable
setFocus
Inventor (LuaInvNet.dll)
Introduzione
Oggetto Document
inv_curdoc
inv_openedDocs
top_ptop
inv_docopen
inv_docopenWithOptions
inv_fileIsInventorDWG
asString
getType
getFileName
getName
getAttr
getAllAttr
setAttr
isDirty
setDirty
isIAM
isIDW
isIPT
isIPN
isSheetMetal
foreachDoc
foreach1
foreachSheet
InvBomPartItem [supportato dalla rel 10 di Inventor]
load
save
update
saveAs
getDerivedDocs
drawingWaitRedraw
drawingPrintManager
curView
getDisplayName
setDisplayName
preview
selectRelatedOccurrences
exportToDwg
close
iPartBreakLink
setEachBOMQuantity
setPartMaterial
setPartRenderStyle
sketchedSymbolDefinitionsCount
sketchedSymbolDefinitionsItem
sketchedSymbolDefinitionsAdd
curSheet
Oggetto Occurance
asString
new
isTop
hasChildren
activate
getDocument
getFileName
getAttr
getName
isVirtualPart
getAttr
getAllAttr
setAttr
setLocalInfo
setAllLocalInfo
getLocalInfo
getAllLocalInfo
deleteLocalInfo
foreach
foreach1
load
update
replace
getBOMStructure [supportato dalla rel 10 di Inventor]
setBOMStructure [supportato dalla rel 10 di Inventor]
setEachBOMQuantity
delete
setPartMaterial
setPartRenderStyle
setRenderStyleOverride
iPartBreakLink
top_pcur
top_pedit
Oggetto DrawingView
asString
refDoc
Oggetto Sheet
asString
name
size
width
height
activate
getExcludeFromPrinting
setExcludeFromPrinting
orientation
sketchedSymbolsCount
sketchedSymbolsItem
sketchedSymbolsAdd
Oggetto SketchedSymbolDefinition
name
isReferenced
delete
copyTo
Oggetto SketchedSymbol
name
delete
Oggetto DrawingPrintManager
setParam
setSheetRange
submitPrint
printToFile
Comandi Vari
CmdCommandExecute
CmdSetSilentOperation
CmdZoomAll
CmdGetActiveSheetName
CmdGetApplicationObject
Cmd
inv_modelRefChange
D&D Inventor (DedInvNet.dll)
InvDedSetAttrPeso
InvDedReplaceDoc
InvDedNewModelInstance
InvDedIDWRefChange
DedInvFileSave
Eventi e Callback
QsiLibrary (QsiLibrary.dll)
QsiLibIsQsPartMember
QsiLibGetQsPartMemberType
QsiLibSetComponentCode
Eventi
QsiLibrary.OnInsertComponent
QsiLibCodeFilter
TopInventor (TopInventor.dll)
TopInvExportTopDwg
AssocIdwToActiveModel
Eventi
TopInventor.OnExportTopDwgPre
VbLuaNet (VbLuaNet.dll - LuaAsmLdr.dll)
Introduzione
API LUA
importassembly
loadassembly
loadassembly2
loadassembly3
getassemblies
importtype
callStatic
getLuaWrapperTypes
getTypes
importType
asString
newInstance
asString
dumpObject
Add/Remove
box
unbox
toclr (obsoleto)
luatable
isnettype
isqswrapper
iscomwrapper
getnettype
getluatype
bitandnet
bitornet
bitxornet
bitnotnet
bitshlnet
bitshrnet
lightcast
sizeof
convert
Tipi Lua
ToString
Push
GetReference
QsLua.LuaUserData
Introduzione
GetTag
GetTagName
Call
QsLua.LuaTable
Utilizzo della LuaTable in .NET
Iterazioni (foreach/for)
LuaTable
Keys
Values
Indexer [ ]
Insert
InsertAt
Remove
RemoveAt
AsHashtable
AsListDictionary
AsArray
AsTypedArray
AsList
GetEnumerator
Serialize
Deserialize
ForEach
ForEachKeyVal
Collections
System.Array - Creazione
System.Array - Creazione Veloce
System.Array - Lettura/Scrittura
System.Array - Iterazione
Iterazione indicizzata
Iterazione con enumeratore
Iterazione foreach
Altre Iterazioni
Altre Collections
Assemblies e tipi
Importazione degli assemblies
Importazione alternativa degli assemblies e dei tipi
Importazione veloce dei tipi
LuaTable
Passaggio di tabelle lua
Costruire una LuaTable in .NET
Ricevere una LuaTable dal Lua
Passare una LuaTable al Lua
Inserire elementi in una LuaTable per posizione
Iterare gli elementi di una LuaTable per posizione
Iterare gli elementi di una LuaTable per chiave
Note varie
Parametri passati per riferimento (ref)
Parametri di ritorno (out)
Parametri opzionali
Utilizzo delle classi wrapper esplicite
Chiamate su oggetti .NET-COM
Accesso alle defaut properties - Indexers
Costruttori generics
Gestione delle eccezioni
Passaggio di tabelle lua
Gestione degli Enum
Extension Methods
Tools
LuaNetRun.exe
XTable (Extended Tables)
Introduzione
Create
Service
astable
saveastable
help
Restriction
where
where2
Projection
select
select2
selectmany
Partitioning
skip
skipwhile
take
takewhile
Join
join
Concatenation
concat
Ordering
orderby
orderbydescending
orderbyascending
reverse
Grouping
groupby
Set
distinct
intersect
union
Aggregate
count
sum
max
min
Altre
fold
unfold
map
map2
iter
iter2
find
LOL functions
fromlol
aslol
saveaslol
Lua 4
Introduzione
Lexical Conventions
Reserved Words
Types
Tables
Literals
Statements
Blocks
Assignment
Denoting Variables
Local Declarations
Control Structures
Exiting Loops
for Loop - Numerical Form
for Loop - Table Form
Expressions and Operators
Relational Operators
Logical Operators
Table Constructors
Initializing Tables
Functions in Lua
Function Calls
Function Definitions
Visibility and Upvalues
Visibility
Upvalues
Error Handling
Debug - The Reflexive Debug Interface
getinfo
getlocal
setlocal
setcallhook
setlinehook
Tag Methods
Behaviour
Manipulation
Events
Lua Interpreter
Lua Interpreter
The Lua C API
Lua States
lua_open
lua_close
Manipulating The Stack
Stack Manipulation
Querying the Stack
Getting Values from the Stack
Pushing values onto the Stack
Miscellaneous API Functions
Garbage Collection
Userdata, Tags and Tag Methods
Executing Lua Code
Manipulating Globals and Tables
Manipulating Functions
Defining C Functions
References to Lua Objects
Registry
The Debug Interface
Debugging Hooks
Format Placeholders
printf - format
Parameter
Flags
Width
Precision
Length
Type
date - format
Indice
Get in touch
Submit feedback about this site to:
[email protected]