Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Section 1 Description of the Scripting Language
1.1. General
1.2. Data Types
1.2.1. User Defined Data Types (structures)
1.3. Variables
1.3.1. Naming of Variables and Restrictions
1.4. Operators and Basic Calculation
1.4.1. Expressions and assignments for numeric data types
1.4.4. Numeric intrinsic functions
1.4.5. Expressions and assignments for string data types
1.4.6. Expressions and assignments for user defined data types (structures)
1.5. Sets of data: Matrices and maps
1.5.1. Matrices
1.5.2. Maps
1.6. Conditional Statements and Branching
1.6.1. The "if-else" blocks and the logical operators
1.6.2. The switch statement
1.6.3. The goto statement
1.7. Loop statements
1.7.1. The foreach statement
1.7.2. The for statement
1.7.3. The while statement
1.7.4. The do while construct
1.7.5. The continue and break statements
1.8. User functions and comments
1.8.1. Definition
1.8.2. Argument list and function call
1.8.3. Returning data from functions (return, byref call)
1.8.4. Including Files
1.8.5. Scope and lifetime of variables
1.8.6. Recursive structures
1.8.7. Initialization and un-initialization of matrices and variables
1.8.8. Use of help text and comments in functions
1.8.9. Session commands for use in Scripting Language
Section 2 Interacting with ANSA
2.1. General
2.2. Handling Data
2.2.1. Data of element type
2.2.2. ANSA cards and entity types
2.3. Collecting entities
2.3.1. General
2.3.2. Collecting entities massively from the whole database
2.3.3. Collecting entities massively from other entities
2.3.4. Collecting massively visible entities
2.3.6. Get single entities
2.3.7. Collecting part and groups from their ids
2.3.8. Collecting entities according to their name
2.3.9. Collecting all new created/imported entities
2.3.10. Collecting a number of files or directories into a list
2.3.11. Select files or directories with the aid of the File Manager
2.4. Edit, Create and Delete Entities
2.4.1. General
2.4.2. Get values from an entity using its Edit card
2.4.3. Modifying the card's values
2.4.4. Creating new entities
2.4.5 Creating parts and groups
2.4.6 Creating connection entities
2.4.7 Editing the characteristics of a connection entity
2.4.8 Realizing connections
2.4.9 Getting the entities of connections
2.4.10. Deleting entities
2.5. Creating user defined buttons and custom GUI
2.5.1. General
2.5.2. Creation of user buttons using the AddUserButton function
2.5.3. Creation of custom GUI
2.5.4. Setting Cancel and Ok buttons
2.5.5. Opening and Destroying Windows
2.5.6. Callback functions
2.6. Setting of controls
2.6.1. Setting edit fields and check buttons
2.6.2. Creating and setting up menus and radio buttons
2.6.3 Creating and setting up List Boxes
2.6.4 Hiding and Showing controls
Section 3 Exchanging data: Text files I/O
3.1 General
3.2. Unformatted text files
3.2.1. Opening and closing files
3.2.2. Reading files
3.2.3. Writing files
3.3. XML formatted files
3.3.1. Opening xml files
3.3.2. Getting nodes and sub-nodes
3.3.3. Getting the name of the node
3.3.4. Getting attributes and node data
3.3.5 Writing XML files and setting the base node
3.3.6 Creating nodes
3.3.7 Setting attributes and node data
Section 4 Specialized Functions
4.1 General
4.2 Description of Specialized functions
4.2.1 Creating Connectors and GEBs with scripting
Section 5 Handling Scripts and ANSA_TRANSL
5.1. General
5.2. Using command window
5.2.1 Quick view of auxiliary built in functions
5.2.2 Description of auxiliary built in functions
5.2.3 Loading scripts
5.2.4 Running scripts
5.3 Using script menu
5.3.1 Script menu interface
5.3.2 SCRIPT category
5.3.3 FUNCTION category
5.4 Automation through an ANSA_TRANSL file
5.4.1 Location of ANSA_TRANSL file
5.4.2 How does ANSA interacts with ANSA_TRANSL
5.4.3 Form of ANSA_TRANSL
5.4.4 What is a global code
5.4.5. Importing CAD files
5.4.6. Executing functions without any user interaction (autoexec)
Section 6 Script Editor
6.1 Script Editor Layout
6.2 Opening scripts
6.3 Running scripts
6.4 Making use of the immediate tab
6.5 Help area
6.6 Compiled scripts
6.7 Making or importing snippets
6.8 Debugging scripts
0 of .
Results for:
No results containing your search query
P. 1
Ansa Scripting

Ansa Scripting

Ratings: (0)|Views: 449|Likes:
Published by crissti_an

More info:

Published by: crissti_an on Nov 05, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 5 to 71 are not shown in this preview.
You're Reading a Free Preview
Pages 76 to 81 are not shown in this preview.

Activity (3)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
rasprasad liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->