没有合适的资源?快使用搜索试试~ 我知道了~
首页CREO二次开发VB API向导
CREO二次开发VB API向导

creO二次开发VB API 用户向导,为用户提供功能说明和使用方法 creO二次开发VB API 用户向导,为用户提供功能说明和使用方法 creO二次开发VB API 用户向导,为用户提供功能说明和使用方法
资源详情
资源评论
资源推荐

Creo
®
Parametric2.0
VBAPIUser’sGuide
February2013

Copyright©2013PTCInc.and/orItsSubsidiaryCompanies.AllRightsReserved.
UserandtrainingguidesandrelateddocumentationfromPTCInc.anditssubsidiarycompanies(collectively
"PTC")aresubjecttothecopyrightlawsoftheUnitedStatesandothercountriesandareprovidedundera
licenseagreementthatrestrictscopying,disclosure,anduseofsuchdocumentation.PTCherebygrantsto
thelicensedsoftwareusertherighttomakecopiesinprintedformofthisdocumentationifprovidedon
softwaremedia,butonlyforinternal/personaluseandinaccordancewiththelicenseagreementunderwhich
theapplicablesoftwareislicensed.AnycopymadeshallincludethePTCcopyrightnoticeandanyother
proprietarynoticeprovidedbyPTC.Trainingmaterialsmaynotbecopiedwithouttheexpresswrittenconsent
ofPTC.Thisdocumentationmaynotbedisclosed,transferred,modied,orreducedtoanyform,including
electronicmedia,ortransmittedormadepubliclyavailablebyanymeanswithoutthepriorwrittenconsentof
PTCandnoauthorizationisgrantedtomakecopiesforsuchpurposes.
Informationdescribedhereinisfurnishedforgeneralinformationonly,issubjecttochangewithoutnotice,
andshouldnotbeconstruedasawarrantyorcommitmentbyPTC.PTCassumesnoresponsibilityorliability
foranyerrorsorinaccuraciesthatmayappearinthisdocument.
Thesoftwaredescribedinthisdocumentisprovidedunderwrittenlicenseagreement,containsvaluabletrade
secretsandproprietaryinformation,andisprotectedbythecopyrightlawsoftheUnitedStatesandother
countries.Itmaynotbecopiedordistributedinanyformormedium,disclosedtothirdparties,orusedinany
mannernotprovidedforinthesoftwarelicensesagreementexceptwithwrittenpriorapprovalfromPTC.
UNAUTHORIZEDUSEOFSOFTW AREORITSDOCUMENTA TIONCANRESULTINCIVIL
DAMAGESANDCRIMINALPROSECUTION.PTCregardssoftwarepiracyasthecrimeitis,andweview
offendersaccordingly.WedonottoleratethepiracyofPTCsoftwareproducts,andwepursue(bothcivilly
andcriminally)thosewhodosousingalllegalmeansavailable,includingpublicandprivatesurveillance
resources.Aspartoftheseefforts,PTCusesdatamonitoringandscouringtechnologiestoobtainandtransmit
dataonusersofillegalcopiesofoursoftware.Thisdatacollectionisnotperformedonusersoflegally
licensedsoftwarefromPTCanditsauthorizeddistributors.Ifyouareusinganillegalcopyofoursoftware
anddonotconsenttothecollectionandtransmissionofsuchdata(includingtotheUnitedStates),ceaseusing
theillegalversion,andcontactPTCtoobtainalegallylicensedcopy.
ImportantCopyright,Trademark,Patent,andLicensingInformation:SeetheAboutBox,orcopyright
notice,ofyourPTCsoftware.
UNITEDSTATESGOVERNMENTRESTRICTEDRIGHTSLEGEND
ThisdocumentandthesoftwaredescribedhereinareCommercialComputerDocumentationandSoftware,
pursuanttoFAR12.212(a)-(b)(OCT’95)orDFARS227.7202-1(a)and227.7202-3(a)(JUN’95),andare
providedtotheUSGovernmentunderalimitedcommerciallicenseonly.Forprocurementspredatingthe
aboveclauses,use,duplication,ordisclosurebytheGovernmentissubjecttotherestrictionssetforth
insubparagraph(c)(1)(ii)oftheRightsinTechnicalDataandComputerSoftwareClauseatDFARS
252.227-7013(OCT’88)orCommercialComputerSoftware-RestrictedRightsatFAR52.227-19(c)(1)-(2)
(JUN’87),asapplicable.01282013
PTCInc.,140KendrickStreet,Needham,MA02494USA

Contents
About This Guide
Purpose
Audience
Prerequisites
Documentation
Conventions
Software Product Concerns and Documentation Comments
Overview of the VB API
Introduction
Visual Basic.NET Applications
Visual Basic for Applications
Limitations of the VB API
Getting Started
Setting Up a VB Application
Object Types
Creo Parametric-Related Classes
Compact Data Classes
Unions
Sequences
Arrays
Enumeration Classes
Module-Level Classes
Action Listeners
Programming Considerations
Application Hierarchy
Optional Arguments and Tags
Optional Returns for the VB API Methods
Parent-Child Relationships between the VB API Objects
Run-Time Type Identification in the VB API
Support for Embedded OLE Objects
Exceptions

VB API Fundamentals:Controlling Creo Parametric
Overview
Simple Asynchronous Mode
Starting and Stopping Creo Parametric
Setting Up a Noninteractive Session
Example Code for Visual Basic.NET
Example Code for Visual Basic for Applications
Connecting to a Creo Parametric Process
Connecting Via Connection ID
Status of a Creo Parametric Process
Getting the Session Object
Full Asynchronous Mode
Example Code
VB API Support for Creo Applications
Troubleshooting VB API Applications
General Problems
The VB API Online Browser
Online Documentation VB APIWizard
Installing the APIWizard
Starting the APIWizard
Web Browser Environments
Automatic Index Tree Updating
APIWizard Interface
Session Objects
Overview of Session Objects
Directories
File Handling
Configuration Options
Macros
Colors and Line Styles
Accessing the Creo Parametric Interface
The Text Message File

Writing a Message Using a Message Pop-up Dialog Box
Accessing the Message Window
Message Classification
Displaying Feature Parameters
File Dialogs
Customizing the Creo Parametric Navigation Area
Selection
Interactive Selection
Accessing Selection Data
Controlling Selection Display
Example Code: Using Interactive Selection
Programmatic Selection
Selection Buffer
Introduction to Selection Buffers
Reading the Contents of the Selection Buffer
Removing the Items of the Selection Buffer
Adding Items to the Selection Buffer
Ribbon Tabs, Groups, and Menu Items
Creating Ribbon Tabs, Groups, and Menu Items
Workflow to Add Menu Items to the Ribbon User Interface
About the Ribbon Definition File
To Specify the Path for the Ribbon Definition File
Loading Multiple Applications Using the Ribbon Definition File
Menus, Commands, and Pop-up Menus
Introduction
Menu Bar Definitions
Menus Buttons and Menus
Finding Creo Parametric Commands
Access Listeners for Commands
Bracket Listeners for Commands
Designating Commands
Command Icons
Designating the Command
剩余243页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论4