SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Downloaden Sie, um offline zu lesen
CREO-TOOLKIT ( PRO-TOOLKIT)
INTRODUCTION
Sandip Jadhav
Harshil Oza
TOPICS
Modes
Models
Model Items
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODES
Mode in Pro/Toolkit means the type of model currently being
edited by the user
The possible modes are the options under the Pro/ENGINEER
command File > New
ProMode enumerated data type, declared in ProMode.h
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODES API
ProModeCurrentGet()
ProSectionIsActive()
outputs the mode in which
Pro/ENGINEER is being used
(example: PRO_MODE_PART,
PRO_MODE_SKETCH etc)
If there is no current model
than API retunes error
PRO_TK_BAD_CONTEXT
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODES API
ProModeCurrentGet()
 outputs the mode in which Pro/ENGINEER is being used (example:
PRO_MODE_PART, PRO_MODE_SKETCH etc)
 If there is no current model than API retunes error PRO_TK_BAD_CONTEXT
ProSectionIsActive()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODES API
ProModeCurrentGet()
ProSectionIsActive()
checks if the sketcher is currently active even if the
current mode is part or assembly
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS
A model is a top-level object in a Pro/ENGINEER mode. For
example, in Part mode, the model is a part; in Assembly mode,
the model is an assembly
The declaration of ProMdl is as follows:
 Typedef void* ProMdl;
ProSolid is an instance of ProMdl, and ProAssembly and ProPart
are instances of ProSolid
All these object types are represented in Pro/TOOLKIT by opaque
handles
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS
This section describes Pro/TOOLKIT models. The topics are as
follows
Creating Models
Identifying Models
Models in Session
File Management Operations
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
CREATE MODELS API
ProSolidCreate()
 ProMfgCreate()
ProSection2DAlloc()
ProDrawingFromTmpltCreate()
ProMdlStartAction()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
CREATE MODELS API
ProSolidCreat()
 Creates a new Pro/ENGINEER object of the specified type (Part or Assembly)
 ProMfgCreate()
 Creates new manufacturing models
ProSection2DAlloc()
 Allocates a two-dimensional section
ProDrawingFromTmpltCreate()
 Creating Drawings from Templates
ProMdlStartAction()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
IDENTIFYING MODELS API
ProMdlNameGet()
 ProMdlTypeGet()
ProMdlInit()
ProMdlIdGet()
ProMdlDataGet()
ProMdlSubtypeGet()
ProMdlToModelitem()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
IDENTIFYING MODELS API
ProMdlNameGet() &ProMdlTypeGet()
Providethe name and type of a model, given its ProMdl
handle. Type is enumerated data type ProType
ProMdlInit()
ProMdlIdGet()
ProMdlDataGet()
ProMdlSubtypeGet()
ProMdlToModelitem()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
IDENTIFYING MODELS API
ProMdlNameGet() &ProMdlTypeGet()
ProMdlInit()
Provides a valid ProMdl handle for a given name and
type
ProMdlIdGet()
ProMdlDataGet()
ProMdlSubtypeGet()
ProMdlToModelitem()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
IDENTIFYING MODELS API
ProMdlNameGet() &ProMdlTypeGet()
ProMdlInit()
ProMdlIdGet()
 Provides integer id to a model. It’s one of the way to identify the model(ex. Surface ,edge etc), the identifier of a model is not
persistent between Pro/ENGINEER sessions
ProMdlDataGet()
ProMdlSubtypeGet()
ProMdlToModelitem()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
IDENTIFYING MODELS API
ProMdlNameGet() &ProMdlTypeGet()
ProMdlInit()
ProMdlIdGet()
ProMdlDataGet()
provides a C structure that contains information about the
name and location of the operating system file in which the
model is saved
ProMdlSubtypeGet()
ProMdlToModelitem()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
IDENTIFYING MODELS API
ProMdlNameGet() &ProMdlTypeGet()
ProMdlInit()
ProMdlIdGet()
ProMdlDataGet()
ProMdlSubtypeGet()
provides the subtype (such as sheet metal) of a specified
model. Valid model subtypes are Part, Assembly, or
Manufacturing. This is like finding subtypes at the
Pro/ENGINEER File > New > Model Type menu
ProMdlToModelitem()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
IDENTIFYING MODELS API
ProMdlNameGet() &ProMdlTypeGet()
ProMdlInit()
ProMdlIdGet()
ProMdlDataGet()
ProMdlSubtypeGet()
ProMdlToModelitem()
the first step in building a ProSelection object that
describes the role of a model in a parent assembly
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS IN SESSION API
ProSessionMdlList()
ProMdlCurrentGet()
ProMdlDependenciesList()
ProMdlDeclaredList()
ProMdlModificationVerify()
ProMdlIsModifiable()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS IN SESSION API
ProSessionMdlList()
provides an array of ProMdl handles to models of a
specified type currently in memory
ProMdlCurrentGet()
ProMdlDependenciesList()
ProMdlDeclaredList()
ProMdlModificationVerify()
ProMdlIsModifiable()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS IN SESSION API
Models in Session API
ProSessionMdlList()
ProMdlCurrentGet()
provides the ProMdl handle to the model currently
being edited by the user.
ProMdlDependenciesList()
ProMdlDeclaredList()
ProMdlModificationVerify()
ProMdlIsModifiable()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS IN SESSION API
Models in Session API
 ProSessionMdlList()
 ProMdlCurrentGet()
 ProMdlDependenciesList()
provides an array of ProMdl handles to the models in
memory upon which a specified model depends. One
model depends on another if its contents reference that
model in some way
 ProMdlDeclaredList()
 ProMdlModificationVerify()
 ProMdlIsModifiable()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS IN SESSION API
Models in Session API
ProSessionMdlList()
ProMdlCurrentGet()
ProMdlDependenciesList()
ProMdlDeclaredList()
provides an array of ProMdlhandles to layout models
that have been declared to a specified solid model
ProMdlModificationVerify()
ProMdlIsModifiable()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS IN SESSION API
Models in Session API
ProSessionMdlList()
ProMdlCurrentGet()
ProMdlDependenciesList()
ProMdlDeclaredList()
ProMdlModificationVerify()
tells you whether a specified model in memory has been
modified since it was last saved or retrieved
ProMdlIsModifiable()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODELS IN SESSION API
Models in Session API
ProSessionMdlList()
ProMdlCurrentGet()
ProMdlDependenciesList()
ProMdlDeclaredList()
ProMdlModificationVerify()
ProMdlIsModifiable()
checks if the specified model is modifiable
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
FILE MANAGEMENT OPERATION
ProMdlRetrieve()
ProMdlSave()
ProMdlCopy()
ProMdlfileCopy()
ProMdlRename()
ProMdlBackup()
ProMdlDelete()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
FILE MANAGEMENT OPERATION
ProMdlRetrieve()
retrieves the model into memory, but does not display it or make
it the current model
ProMdlSave()
ProMdlCopy()
ProMdlRename()
ProMdlBackup()
ProMdlDelete()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
FILE MANAGEMENT OPERATION
File Management Operation
ProMdlRetrieve()
ProMdlSave()
equivalent to the Save As command in the File pull-down menu of the
Pro/ENGINEER menu bar
ProMdlCopy()
ProMdlRename()
ProMdlBackup()
ProMdlDelete()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
FILE MANAGEMENT OPERATION
File Management Operation
ProMdlRetrieve()
ProMdlSave()
ProMdlCopy()
equivalent to the Save As command in the File pull-down menu of
the Pro/ENGINEER menu bar
ProMdlRename()
ProMdlBackup()
ProMdlDelete()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
FILE MANAGEMENT OPERATION
File Management Operation
ProMdlRetrieve()
ProMdlSave()
ProMdlCopy()
ProMdlRename()
equivalent to the Save As command in the File pull-down menu of
the Pro/ENGINEER menu bar
ProMdlBackup()
ProMdlDelete()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
FILE MANAGEMENT OPERATION
File Management Operation
ProMdlRetrieve()
ProMdlSave()
ProMdlCopy()
ProMdlRename()
equivalent to the Rename command in the File pull-down menu of
the Pro/ENGINEER menu bar
ProMdlBackup()
ProMdlDelete()
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
FILE MANAGEMENT OPERATION
File Management Operation
ProMdlRetrieve()
ProMdlSave()
ProMdlCopy()
ProMdlRename()
ProMdlBackup()
ProMdlDelete()
 Makes a backup of an object in memory to a disk in a specified directory. This function is equivalent to the
Pro/ENGINEER command File, Backup
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
FILE MANAGEMENT OPERATION
File Management Operation
ProMdlRetrieve()
ProMdlSave()
ProMdlCopy()
ProMdlRename()
ProMdlBackup()
ProMdlDelete()
 Deletes the specified model from memory and disk
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
MODEL ITEMS
 The object type ProModelitem is a Data handle
contains the item type, the persistent integer identifier of the item,
and the handle to the owning object
C structure
 typedef struct pro_model_item
{
ProType type;
int id;
ProMdl owner;
} ProModelitem
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
THANK YOU
https://twitter.com/sandipnjadhav
https://in.linkedin.com/in/sandipjadhav
Visit Us @ www.cctech.co.in
Call Us @ +91 20 4009 8381/82
Centre for Computational Technologies Pvt. Ltd.
Development Centre
1, Akshay Residancy, 50 Anand Park,
Aundh, Pune -7
CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
Join us at www.simulationHub.com

Weitere ähnliche Inhalte

Was ist angesagt?

CAD Customization &Automation
CAD Customization &AutomationCAD Customization &Automation
CAD Customization &AutomationHemant Wagh
 
Creo parametric tips and tricks
Creo parametric tips and tricksCreo parametric tips and tricks
Creo parametric tips and tricksEvan Winter
 
Computer-Aided Engineering
Computer-Aided EngineeringComputer-Aided Engineering
Computer-Aided EngineeringAdesanya Adebayo
 
Rhapsody Systems Software
Rhapsody Systems SoftwareRhapsody Systems Software
Rhapsody Systems SoftwareBill Duncan
 
Reverse engineering for mechanical
Reverse engineering for mechanicalReverse engineering for mechanical
Reverse engineering for mechanicalPunugunta Vishnu
 
Model-Driven Development for Safety-Critical Software
Model-Driven Development for Safety-Critical SoftwareModel-Driven Development for Safety-Critical Software
Model-Driven Development for Safety-Critical Softwaregjuljo
 
Rhapsody Eclipse
Rhapsody EclipseRhapsody Eclipse
Rhapsody EclipseBill Duncan
 
Catia v5 presentation report
Catia v5 presentation reportCatia v5 presentation report
Catia v5 presentation reportMunna Kumar
 
Catia Software Summer training
Catia Software Summer training Catia Software Summer training
Catia Software Summer training Shubham Rai
 
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...Obeo
 
Dependency injection presentation
Dependency injection presentationDependency injection presentation
Dependency injection presentationAhasanul Kalam Akib
 
MECH CREO
MECH CREOMECH CREO
MECH CREONaren R
 

Was ist angesagt? (20)

Introduction to CAD and CAD software
Introduction to CAD and CAD softwareIntroduction to CAD and CAD software
Introduction to CAD and CAD software
 
Ppt on catia
Ppt on  catiaPpt on  catia
Ppt on catia
 
CAD Customization &Automation
CAD Customization &AutomationCAD Customization &Automation
CAD Customization &Automation
 
CATIA – Designing and Development
CATIA – Designing and DevelopmentCATIA – Designing and Development
CATIA – Designing and Development
 
Creo parametric tips and tricks
Creo parametric tips and tricksCreo parametric tips and tricks
Creo parametric tips and tricks
 
Computer-Aided Engineering
Computer-Aided EngineeringComputer-Aided Engineering
Computer-Aided Engineering
 
Rhapsody Systems Software
Rhapsody Systems SoftwareRhapsody Systems Software
Rhapsody Systems Software
 
Reverse engineering for mechanical
Reverse engineering for mechanicalReverse engineering for mechanical
Reverse engineering for mechanical
 
Model-Driven Development for Safety-Critical Software
Model-Driven Development for Safety-Critical SoftwareModel-Driven Development for Safety-Critical Software
Model-Driven Development for Safety-Critical Software
 
Rhapsody Eclipse
Rhapsody EclipseRhapsody Eclipse
Rhapsody Eclipse
 
Catia v5 presentation report
Catia v5 presentation reportCatia v5 presentation report
Catia v5 presentation report
 
Catia Software Summer training
Catia Software Summer training Catia Software Summer training
Catia Software Summer training
 
Creo parametric-quick-start
Creo parametric-quick-startCreo parametric-quick-start
Creo parametric-quick-start
 
Generative design
Generative designGenerative design
Generative design
 
Introduction to c#
Introduction to c#Introduction to c#
Introduction to c#
 
CAD CAM CAE
CAD CAM CAECAD CAM CAE
CAD CAM CAE
 
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...
 
Dependency injection presentation
Dependency injection presentationDependency injection presentation
Dependency injection presentation
 
MECH CREO
MECH CREOMECH CREO
MECH CREO
 
CAD
CADCAD
CAD
 

Andere mochten auch

Creo tookit geometric traversal and evaluator
Creo tookit  geometric traversal and evaluatorCreo tookit  geometric traversal and evaluator
Creo tookit geometric traversal and evaluatorSandip Jadhav
 
3 Strategies for Robust Modeling in Creo Parametric
3 Strategies for Robust Modeling in Creo Parametric3 Strategies for Robust Modeling in Creo Parametric
3 Strategies for Robust Modeling in Creo ParametricEvan Winter
 
An Introduction to Creo 3.0
An Introduction to Creo 3.0An Introduction to Creo 3.0
An Introduction to Creo 3.0Kshitiz24
 
Using pro weld in creo 2.0
Using pro weld in creo 2.0Using pro weld in creo 2.0
Using pro weld in creo 2.0Evan Winter
 
OpenGL Transformation
OpenGL TransformationOpenGL Transformation
OpenGL TransformationSandip Jadhav
 
Ptc creo essentials 3.0 overview new features
Ptc creo essentials 3.0 overview new featuresPtc creo essentials 3.0 overview new features
Ptc creo essentials 3.0 overview new featuresVictor Mitov
 
Making model check work for you
Making model check work for youMaking model check work for you
Making model check work for youEvan Winter
 
104 2-5 ca-ddoctor軟體介紹(崇道國際)
104 2-5 ca-ddoctor軟體介紹(崇道國際)104 2-5 ca-ddoctor軟體介紹(崇道國際)
104 2-5 ca-ddoctor軟體介紹(崇道國際)Rich Man
 
Ptc creo mold analysis extension (cma) sales presentation
Ptc creo mold analysis extension (cma) sales presentationPtc creo mold analysis extension (cma) sales presentation
Ptc creo mold analysis extension (cma) sales presentationVictor Mitov
 
Using_PTC_Windchill_and_Creo_for_Creating_Customer-Driven_Product_Variants
Using_PTC_Windchill_and_Creo_for_Creating_Customer-Driven_Product_VariantsUsing_PTC_Windchill_and_Creo_for_Creating_Customer-Driven_Product_Variants
Using_PTC_Windchill_and_Creo_for_Creating_Customer-Driven_Product_VariantsVladimir Pezel
 
Ptc creo fmx sales presentation
Ptc creo fmx sales presentationPtc creo fmx sales presentation
Ptc creo fmx sales presentationVictor Mitov
 
Creo Cabling Solution
Creo Cabling SolutionCreo Cabling Solution
Creo Cabling SolutionCadplatsen AB
 
Finite Element Analysis Creo-Simulate Webinar
Finite Element Analysis Creo-Simulate WebinarFinite Element Analysis Creo-Simulate Webinar
Finite Element Analysis Creo-Simulate WebinarSanthosh N L
 

Andere mochten auch (20)

Creo tookit geometric traversal and evaluator
Creo tookit  geometric traversal and evaluatorCreo tookit  geometric traversal and evaluator
Creo tookit geometric traversal and evaluator
 
3 Strategies for Robust Modeling in Creo Parametric
3 Strategies for Robust Modeling in Creo Parametric3 Strategies for Robust Modeling in Creo Parametric
3 Strategies for Robust Modeling in Creo Parametric
 
An Introduction to Creo 3.0
An Introduction to Creo 3.0An Introduction to Creo 3.0
An Introduction to Creo 3.0
 
Using pro weld in creo 2.0
Using pro weld in creo 2.0Using pro weld in creo 2.0
Using pro weld in creo 2.0
 
OpenGL Interaction
OpenGL InteractionOpenGL Interaction
OpenGL Interaction
 
OpenGL Transformation
OpenGL TransformationOpenGL Transformation
OpenGL Transformation
 
Ptc creo essentials 3.0 overview new features
Ptc creo essentials 3.0 overview new featuresPtc creo essentials 3.0 overview new features
Ptc creo essentials 3.0 overview new features
 
OpenGL Basics
OpenGL BasicsOpenGL Basics
OpenGL Basics
 
Making model check work for you
Making model check work for youMaking model check work for you
Making model check work for you
 
Creo nocreo[1].patt.ppt
Creo nocreo[1].patt.pptCreo nocreo[1].patt.ppt
Creo nocreo[1].patt.ppt
 
104 2-5 ca-ddoctor軟體介紹(崇道國際)
104 2-5 ca-ddoctor軟體介紹(崇道國際)104 2-5 ca-ddoctor軟體介紹(崇道國際)
104 2-5 ca-ddoctor軟體介紹(崇道國際)
 
Ptc creo mold analysis extension (cma) sales presentation
Ptc creo mold analysis extension (cma) sales presentationPtc creo mold analysis extension (cma) sales presentation
Ptc creo mold analysis extension (cma) sales presentation
 
NX CAD
NX CADNX CAD
NX CAD
 
Using_PTC_Windchill_and_Creo_for_Creating_Customer-Driven_Product_Variants
Using_PTC_Windchill_and_Creo_for_Creating_Customer-Driven_Product_VariantsUsing_PTC_Windchill_and_Creo_for_Creating_Customer-Driven_Product_Variants
Using_PTC_Windchill_and_Creo_for_Creating_Customer-Driven_Product_Variants
 
Ptc creo fmx sales presentation
Ptc creo fmx sales presentationPtc creo fmx sales presentation
Ptc creo fmx sales presentation
 
Creo Cabling Solution
Creo Cabling SolutionCreo Cabling Solution
Creo Cabling Solution
 
Opengl basics
Opengl basicsOpengl basics
Opengl basics
 
pro/e
pro/epro/e
pro/e
 
Finite Element Analysis Creo-Simulate Webinar
Finite Element Analysis Creo-Simulate WebinarFinite Element Analysis Creo-Simulate Webinar
Finite Element Analysis Creo-Simulate Webinar
 
Nx 7.5 (1)
Nx 7.5 (1)Nx 7.5 (1)
Nx 7.5 (1)
 

Ähnlich wie Creo toolkit introduction

Pragmatic Model Driven Development using openArchitectureWare
Pragmatic Model Driven Development using openArchitectureWarePragmatic Model Driven Development using openArchitectureWare
Pragmatic Model Driven Development using openArchitectureWareMichael Vorburger
 
Code Generation with MDA and xUML
Code Generation with MDA and xUMLCode Generation with MDA and xUML
Code Generation with MDA and xUMLChris Raistrick
 
Design Pattern For C# Part 1
Design Pattern For C# Part 1Design Pattern For C# Part 1
Design Pattern For C# Part 1Shahzad
 
Desing pattern prototype-Factory Method, Prototype and Builder
Desing pattern prototype-Factory Method, Prototype and Builder Desing pattern prototype-Factory Method, Prototype and Builder
Desing pattern prototype-Factory Method, Prototype and Builder paramisoft
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake TutorialFu Haiping
 
27418524 design-patterns-dot-net-with-examples
27418524 design-patterns-dot-net-with-examples27418524 design-patterns-dot-net-with-examples
27418524 design-patterns-dot-net-with-examplesQuang Suma
 
Model Driven Architecture and eXecutable UML
Model Driven Architecture and eXecutable UMLModel Driven Architecture and eXecutable UML
Model Driven Architecture and eXecutable UMLelliando dias
 
Factory method pattern (Virtual Constructor)
Factory method pattern (Virtual Constructor)Factory method pattern (Virtual Constructor)
Factory method pattern (Virtual Constructor)Sameer Rathoud
 
Utilisation de MLflow pour le cycle de vie des projet Machine learning
Utilisation de MLflow pour le cycle de vie des projet Machine learningUtilisation de MLflow pour le cycle de vie des projet Machine learning
Utilisation de MLflow pour le cycle de vie des projet Machine learningParis Data Engineers !
 
Apex and design pattern
Apex and design patternApex and design pattern
Apex and design patternRosario Renga
 
Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEBenjamin Cabé
 
Smoothing Your Java with DSLs
Smoothing Your Java with DSLsSmoothing Your Java with DSLs
Smoothing Your Java with DSLsintelliyole
 
Model-Driven Development in the context of Software Product Lines
Model-Driven Development in the context of Software Product LinesModel-Driven Development in the context of Software Product Lines
Model-Driven Development in the context of Software Product LinesMarkus Voelter
 

Ähnlich wie Creo toolkit introduction (20)

Pragmatic Model Driven Development using openArchitectureWare
Pragmatic Model Driven Development using openArchitectureWarePragmatic Model Driven Development using openArchitectureWare
Pragmatic Model Driven Development using openArchitectureWare
 
Code Generation with MDA and xUML
Code Generation with MDA and xUMLCode Generation with MDA and xUML
Code Generation with MDA and xUML
 
Design Pattern For C# Part 1
Design Pattern For C# Part 1Design Pattern For C# Part 1
Design Pattern For C# Part 1
 
Desing pattern prototype-Factory Method, Prototype and Builder
Desing pattern prototype-Factory Method, Prototype and Builder Desing pattern prototype-Factory Method, Prototype and Builder
Desing pattern prototype-Factory Method, Prototype and Builder
 
Software Design Patterns
Software Design PatternsSoftware Design Patterns
Software Design Patterns
 
CMake Tutorial
CMake TutorialCMake Tutorial
CMake Tutorial
 
27418524 design-patterns-dot-net-with-examples
27418524 design-patterns-dot-net-with-examples27418524 design-patterns-dot-net-with-examples
27418524 design-patterns-dot-net-with-examples
 
Model Driven Architecture and eXecutable UML
Model Driven Architecture and eXecutable UMLModel Driven Architecture and eXecutable UML
Model Driven Architecture and eXecutable UML
 
Factory method pattern (Virtual Constructor)
Factory method pattern (Virtual Constructor)Factory method pattern (Virtual Constructor)
Factory method pattern (Virtual Constructor)
 
Utilisation de MLflow pour le cycle de vie des projet Machine learning
Utilisation de MLflow pour le cycle de vie des projet Machine learningUtilisation de MLflow pour le cycle de vie des projet Machine learning
Utilisation de MLflow pour le cycle de vie des projet Machine learning
 
Apex and design pattern
Apex and design patternApex and design pattern
Apex and design pattern
 
Use Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDEUse Eclipse technologies to build a modern embedded IDE
Use Eclipse technologies to build a modern embedded IDE
 
Smoothing Your Java with DSLs
Smoothing Your Java with DSLsSmoothing Your Java with DSLs
Smoothing Your Java with DSLs
 
Mvc acchitecture
Mvc acchitectureMvc acchitecture
Mvc acchitecture
 
myslide1
myslide1myslide1
myslide1
 
myslide6
myslide6myslide6
myslide6
 
NewSeriesSlideShare
NewSeriesSlideShareNewSeriesSlideShare
NewSeriesSlideShare
 
Model-Driven Development in the context of Software Product Lines
Model-Driven Development in the context of Software Product LinesModel-Driven Development in the context of Software Product Lines
Model-Driven Development in the context of Software Product Lines
 
Adapter pattern
Adapter patternAdapter pattern
Adapter pattern
 
Abstract factory
Abstract factoryAbstract factory
Abstract factory
 

Kürzlich hochgeladen

HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 

Kürzlich hochgeladen (20)

Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 

Creo toolkit introduction

  • 2. TOPICS Modes Models Model Items CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 3. MODES Mode in Pro/Toolkit means the type of model currently being edited by the user The possible modes are the options under the Pro/ENGINEER command File > New ProMode enumerated data type, declared in ProMode.h CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 4. MODES API ProModeCurrentGet() ProSectionIsActive() outputs the mode in which Pro/ENGINEER is being used (example: PRO_MODE_PART, PRO_MODE_SKETCH etc) If there is no current model than API retunes error PRO_TK_BAD_CONTEXT CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 5. MODES API ProModeCurrentGet()  outputs the mode in which Pro/ENGINEER is being used (example: PRO_MODE_PART, PRO_MODE_SKETCH etc)  If there is no current model than API retunes error PRO_TK_BAD_CONTEXT ProSectionIsActive() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 6. MODES API ProModeCurrentGet() ProSectionIsActive() checks if the sketcher is currently active even if the current mode is part or assembly CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 7. MODELS A model is a top-level object in a Pro/ENGINEER mode. For example, in Part mode, the model is a part; in Assembly mode, the model is an assembly The declaration of ProMdl is as follows:  Typedef void* ProMdl; ProSolid is an instance of ProMdl, and ProAssembly and ProPart are instances of ProSolid All these object types are represented in Pro/TOOLKIT by opaque handles CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 8. MODELS This section describes Pro/TOOLKIT models. The topics are as follows Creating Models Identifying Models Models in Session File Management Operations CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 9. CREATE MODELS API ProSolidCreate()  ProMfgCreate() ProSection2DAlloc() ProDrawingFromTmpltCreate() ProMdlStartAction() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 10. CREATE MODELS API ProSolidCreat()  Creates a new Pro/ENGINEER object of the specified type (Part or Assembly)  ProMfgCreate()  Creates new manufacturing models ProSection2DAlloc()  Allocates a two-dimensional section ProDrawingFromTmpltCreate()  Creating Drawings from Templates ProMdlStartAction() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 11. IDENTIFYING MODELS API ProMdlNameGet()  ProMdlTypeGet() ProMdlInit() ProMdlIdGet() ProMdlDataGet() ProMdlSubtypeGet() ProMdlToModelitem() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 12. IDENTIFYING MODELS API ProMdlNameGet() &ProMdlTypeGet() Providethe name and type of a model, given its ProMdl handle. Type is enumerated data type ProType ProMdlInit() ProMdlIdGet() ProMdlDataGet() ProMdlSubtypeGet() ProMdlToModelitem() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 13. IDENTIFYING MODELS API ProMdlNameGet() &ProMdlTypeGet() ProMdlInit() Provides a valid ProMdl handle for a given name and type ProMdlIdGet() ProMdlDataGet() ProMdlSubtypeGet() ProMdlToModelitem() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 14. IDENTIFYING MODELS API ProMdlNameGet() &ProMdlTypeGet() ProMdlInit() ProMdlIdGet()  Provides integer id to a model. It’s one of the way to identify the model(ex. Surface ,edge etc), the identifier of a model is not persistent between Pro/ENGINEER sessions ProMdlDataGet() ProMdlSubtypeGet() ProMdlToModelitem() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 15. IDENTIFYING MODELS API ProMdlNameGet() &ProMdlTypeGet() ProMdlInit() ProMdlIdGet() ProMdlDataGet() provides a C structure that contains information about the name and location of the operating system file in which the model is saved ProMdlSubtypeGet() ProMdlToModelitem() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 16. IDENTIFYING MODELS API ProMdlNameGet() &ProMdlTypeGet() ProMdlInit() ProMdlIdGet() ProMdlDataGet() ProMdlSubtypeGet() provides the subtype (such as sheet metal) of a specified model. Valid model subtypes are Part, Assembly, or Manufacturing. This is like finding subtypes at the Pro/ENGINEER File > New > Model Type menu ProMdlToModelitem() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 17. IDENTIFYING MODELS API ProMdlNameGet() &ProMdlTypeGet() ProMdlInit() ProMdlIdGet() ProMdlDataGet() ProMdlSubtypeGet() ProMdlToModelitem() the first step in building a ProSelection object that describes the role of a model in a parent assembly CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 18. MODELS IN SESSION API ProSessionMdlList() ProMdlCurrentGet() ProMdlDependenciesList() ProMdlDeclaredList() ProMdlModificationVerify() ProMdlIsModifiable() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 19. MODELS IN SESSION API ProSessionMdlList() provides an array of ProMdl handles to models of a specified type currently in memory ProMdlCurrentGet() ProMdlDependenciesList() ProMdlDeclaredList() ProMdlModificationVerify() ProMdlIsModifiable() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 20. MODELS IN SESSION API Models in Session API ProSessionMdlList() ProMdlCurrentGet() provides the ProMdl handle to the model currently being edited by the user. ProMdlDependenciesList() ProMdlDeclaredList() ProMdlModificationVerify() ProMdlIsModifiable() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 21. MODELS IN SESSION API Models in Session API  ProSessionMdlList()  ProMdlCurrentGet()  ProMdlDependenciesList() provides an array of ProMdl handles to the models in memory upon which a specified model depends. One model depends on another if its contents reference that model in some way  ProMdlDeclaredList()  ProMdlModificationVerify()  ProMdlIsModifiable() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 22. MODELS IN SESSION API Models in Session API ProSessionMdlList() ProMdlCurrentGet() ProMdlDependenciesList() ProMdlDeclaredList() provides an array of ProMdlhandles to layout models that have been declared to a specified solid model ProMdlModificationVerify() ProMdlIsModifiable() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 23. MODELS IN SESSION API Models in Session API ProSessionMdlList() ProMdlCurrentGet() ProMdlDependenciesList() ProMdlDeclaredList() ProMdlModificationVerify() tells you whether a specified model in memory has been modified since it was last saved or retrieved ProMdlIsModifiable() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 24. MODELS IN SESSION API Models in Session API ProSessionMdlList() ProMdlCurrentGet() ProMdlDependenciesList() ProMdlDeclaredList() ProMdlModificationVerify() ProMdlIsModifiable() checks if the specified model is modifiable CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 26. FILE MANAGEMENT OPERATION ProMdlRetrieve() retrieves the model into memory, but does not display it or make it the current model ProMdlSave() ProMdlCopy() ProMdlRename() ProMdlBackup() ProMdlDelete() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 27. FILE MANAGEMENT OPERATION File Management Operation ProMdlRetrieve() ProMdlSave() equivalent to the Save As command in the File pull-down menu of the Pro/ENGINEER menu bar ProMdlCopy() ProMdlRename() ProMdlBackup() ProMdlDelete() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 28. FILE MANAGEMENT OPERATION File Management Operation ProMdlRetrieve() ProMdlSave() ProMdlCopy() equivalent to the Save As command in the File pull-down menu of the Pro/ENGINEER menu bar ProMdlRename() ProMdlBackup() ProMdlDelete() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 29. FILE MANAGEMENT OPERATION File Management Operation ProMdlRetrieve() ProMdlSave() ProMdlCopy() ProMdlRename() equivalent to the Save As command in the File pull-down menu of the Pro/ENGINEER menu bar ProMdlBackup() ProMdlDelete() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 30. FILE MANAGEMENT OPERATION File Management Operation ProMdlRetrieve() ProMdlSave() ProMdlCopy() ProMdlRename() equivalent to the Rename command in the File pull-down menu of the Pro/ENGINEER menu bar ProMdlBackup() ProMdlDelete() CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 31. FILE MANAGEMENT OPERATION File Management Operation ProMdlRetrieve() ProMdlSave() ProMdlCopy() ProMdlRename() ProMdlBackup() ProMdlDelete()  Makes a backup of an object in memory to a disk in a specified directory. This function is equivalent to the Pro/ENGINEER command File, Backup CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 32. FILE MANAGEMENT OPERATION File Management Operation ProMdlRetrieve() ProMdlSave() ProMdlCopy() ProMdlRename() ProMdlBackup() ProMdlDelete()  Deletes the specified model from memory and disk CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 33. MODEL ITEMS  The object type ProModelitem is a Data handle contains the item type, the persistent integer identifier of the item, and the handle to the owning object C structure  typedef struct pro_model_item { ProType type; int id; ProMdl owner; } ProModelitem CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN
  • 34. THANK YOU https://twitter.com/sandipnjadhav https://in.linkedin.com/in/sandipjadhav Visit Us @ www.cctech.co.in Call Us @ +91 20 4009 8381/82 Centre for Computational Technologies Pvt. Ltd. Development Centre 1, Akshay Residancy, 50 Anand Park, Aundh, Pune -7 CENTRE FOR COMPUTATIONAL TECHNOLOGIES - (CCTECH) WWW.CCTECH.CO.IN Join us at www.simulationHub.com