Module name: MyPart1
____________
Module declaration: GLOBAL GEOMETRY MODULE MyPart1
___________________
Module description:
__________________
Reference sample that creates an entity and passes the
reference to another module.
Create an entity with identity #10
Convert identity #10 to a global reference
Pass the global identity to MyPart2
The module has no parameters (attributes)
Called modules:
_______________
MyPart2 Reference sample: Pass global identity to a called module
Module name: MyPart2
____________
Module declaration: GLOBAL GEOMETRY MODULE MyPart2
___________________
Module description:
__________________
Reference sample that passes a global identity
to
a general module that
calculates the length
Pass the global identity to MyPart3 that
calculates and
returns the length of
the line
Module parameters:
___________________
REF lin_id >"@t2 Select line");
Called modules:
_______________
MyPart3 Reference sample: Calculate and return
line length
Module name: MyPart3
____________
Module declaration: GLOBAL GEOMETRY MODULE MyPart3
___________________
Module description:
__________________
General module for the calculation of a line
length
Calculate the length
List input and output data on screen
Module parameters:
___________________
REF lin_id; ! Identity of input line
VAR FLOAT line_length); ! Output line length
No called modules
This document was created
2006-03-11 by module m_extdoc1
Module name: MyPart4
____________
Module declaration: GLOBAL GEOMETRY MODULE MyPart4
___________________
Module description:
__________________
Reference sample that passes a global identity
to
a general module that
calculates the length
Pass the global identity to MyPart3 that
calculates and
returns the length of
the line
Module parameters:
___________________
REF lin_id >"@t2 Select line");
Called modules:
_______________
MyPart3 Reference sample: Calculate and return
line length