Contents Book Index Books 

Contents



About This Guide

Purpose
Audience
Contents
Prerequisites
Documentation
Conventions
Software Product Concerns and Documentation Comments

Setting Up J-Link

Setting Up Your Machine
Downloading Java Development Kit and Packages
Setting Up Pro/ENGINEER
Path and CLASSPATH Variables
Setting Up a Synchronous J-Link Program
Environment Variables
Standalone Applications
Setting Up a Model Program
Start and Stop Methods

Overview of J-Link

Class Types
Pro/ENGINEER-Related Classes
Compact Data Classes
Unions
Sequences
Arrays
Enumeration Classes
Action Listeners
Utilities
Creating Applications
Importing Packages
Exception Handling

The J-Link Online Browser

Introduction
The Browser Interface
Navigating the Tree
Navigation Frame
Action Frame
Information Frame
Button Frame

Java Programming Considerations

Use of the JDK in J-Link Applications
Java Overview
Java Keywords
Java Data Types
Event Handling
Comments

J-Link Programming Considerations

Thread Restrictions
Optional Arguments to J-Link Methods
Optional Returns for J-Link Methods
Parent-Child Relationships Between J-Link Objects
Run-Time Identification in J-Link

Session Objects

Overview of Session Objects
Getting the Session Object
Directories
Configuration Options
Macros
Colors and Line Styles
Accessing the Pro/ENGINEER Interface
The Text Message File
Accessing the Menu Bar
Example Code: Adding a Menu Button
Accessing the Message Window
Example Code: Writing a Message
Displaying Feature Parameters

Selection

Interactive Selection
Accessing Selection Data
Controlling Selection Display
Example Code: Using Interactive Selection
Programmable Selection

Models

Overview of Model Objects
Getting a Model Object
Model Descriptors
Retrieving Models
Example Code: Retrieving a Model
Model Information
Model Operations

Solid

Getting a Solid Object
Solid Information
Mass Properties
Example Code: Retrieving a Mass Property Object
Solid Operations
Feature Operations
Part Methods
Assembly Methods
Structure of Assemblies and Assembly Objects
Creating a Component Path
Component Path Information

Windows and Views

Windows
Getting a Window Object
Window Operations
Views
Getting a View Object
View Operations
Coordinate Systems and Transformations
Coordinate Systems
Transformations
Example Code - Normalizing a Coordinate Transformation Matrix

ModelItem

Solid Geometry Traversal
Getting ModelItem Objects
ModelItem Information
Layer Objects
Getting Layer Objects
Layer Operations

Feature

Access to Features
Feature Information
Feature Groups and Patterns
Changes to Feature Groups
Component Features
Example Code: Replacing Instances
User Defined Feature
Read Access to Groups and User Defined Features
Creating Features from UDFs

Geometry Evaluation

Geometry Traversal
Geometry Terms
Traversing the Geometry of a Solid Block
Curves and Edges
The t Parameter
Edge Types
Evaluation of Edges
Solid Edge Geometry
Evaluation of Contours
Surfaces
UV Parameterization
Surface Types
Evaluation of Surfaces
Axes, Coordinate Systems, and Points
Evaluation of ModelItems
Interference
Analyzing Interference Information
Analyzing InterferenceVolume
Example Code

Dimensions and Parameters

Overview
The ParamValue Object
Accessing a ParamValue Object
Accessing the ParamValue Value
Parameter Objects
Getting and Creating Parameters
Parameter Information
Example Code: Updating Model Parameters
Dimension Objects
Getting Dimensions
Dimension Information
Dimension Tolerances
Example Code: Setting Tolerences to a Specified Range

Family Tables

Working with Family Tables
Accessing Instances
Accessing Columns
Accessing Cell Information
Creating Family Table Instances
Creating Family Table Columns
Example Code: Adding Dimensions to a Family Table

Action Listeners

J-Link Action Listeners
Creating an ActionListener Implementation
Action Sources
Types of Action Listeners
Session Level Action Listeners
UI Command Action Listeners
Model Level Action listeners
Solid Level Action Listeners
Feature Level Action Listeners

Interface

Exporting Files
Export Instructions
Importing Files
Example Code
VRML Representation
Plotting Files
Instructions for objects used to plot drawings.
Solid Operations
Window Operations

Simplified Representations

Overview
Retrieving Simplified Representations
Creating and Deleting Simplified Representations
Extracting Information About Simplified Representations
Example Code: Working with Simplified Representation
Modifying Simplified Representations
Adding Items to and Deleting Items from a Simplified Representation
Simplified Representation Utilities

Asynchronous Mode

Overview
Setting up an Asynchronous J-Link Application
Starting and Stopping Pro/ENGINEER
Connecting to a Pro/ENGINEER Process

Machine-Specific Information

Supported Platforms
JDK Requirements
Advanced Options for J-Link Java Applications

Geometry Traversal

Example 1
Example 2
Example 3
Example 4
Example 5

Geometry Representations

Surface Parameterization
Plane
Cylinder
Cone
Torus
General Surface of Revolution
Ruled Surface
Tabulated Cylinder
Coons Patch
Fillet Surface
Spline Surface
NURBS Surface
Cylindrical Spline Surface
Edge and Curve Parameterization
Line
Arc
Spline
NURBS

J-Link Classes

List of J-Link Classes

Index



Copyright © 1998 Parametric Technology Corporation
128 Technology Drive, Waltham, MA 02154 USA
All rights reserved