PCI-Command_Macros
pci - command macros
pci - command macros
creating pci templates
creating pci templates
designing the pci
sequence of events
building the pci
selecting instruction dialogs
selecting geometry
run-time variables
adding comments and prompts
finishing the pci
changing the order of directives within the pci
using comments within the pci
creating a simple pci
creating a simple pci
the simple pci example file
about pcis
pci syntax
about pci directives
pci variables
about pci variables
pci variable types
compatibility problems
pci comments
using edgecam commands
using edgecam modifiers
about the database, entity numbers and names
how to execute edgecam commands
about pci text files
writing and editing programs
writing programs
editing programs
debugging programs
calling a pdi from a pci
calling a pci from a pci
using pci commands
using pci commands
aborting a 'command save'
adding comments to a 'command save'
running a command file
defining variables
defining a dialog box
viewing the contents of variables
using arrays in pcis
using arrays in pcis
about arrays
example of a one dimensional array
mixing string and numeric variables
evaluating variables in an array
example of a two dimensional array
building an edgecam operation
building an edgecam operation
step 1 - initialise the operation
step 2 - initialise the edgecam commands to be used in the operation
step 3 - clear all previous modifier values
step 4 - set any default modifier values
step 5 - build a dialog for user input
step 6 - add any user defined modifiers to the dialog
step 7 - set up mutual inclusion relationships between modifiers
step 8 - prompt for selection of pci operation modifiers
step 9 - select entities used in the operation
step 10 - execute each edgecam command
step 11 - free the pci operation reference
pci directives
%addallvisdiginfo
%addcallbackref
%addcmdmodtooperation
%adddiginfo (advanced feature)
%addentnamedig
%addentnodig
%addfinishdig
%addfreedig
%addmessagestring
%addusermodtooperation
%addvalidstate
%alias=var1=var2
%ang
%ask
%askbox
%askdig
%askdiginfo (advanced feature)
%askmods
%askprofile
%asksurfaces
%calc
%chainentname
%chainentno
%clearmods
%commitoperation
%copymodifiers
%debug
%delete
%delete_all_vars
%display
%dooperationmods
%end
%endif
%error
%execcommand
%freecommand
%freediginfo
%freemessagestring
%freeoperation
%getmodifier
%gosub
%goto
%if
%include
%initcommand
%initdiginfo
%initmessagestring
%initoperation
%istoolsame
%isvardefined
%label
%len
%loadtool
%messagebox
%messagelistbox
%mid
%option
%padtext
%query
%querydiginfo
%reinitcommand
%response
%return
%setcallback
%setfeaturevars
%setmodifier
%setpackage
%toolbarmods
%wait
pci system variables
&nextent
pci read-only variables
digitise types
command return types
digitise buffer element types
construction digitise types
chaining types
boolean types
message box types
profile selection types
unit types
environment types
creating more read only variables
reserved pci names
edgecam entity types
limitations to pci
pci example - involute.pci