Vous êtes sur la page 1sur 9

29/1/2017

ApproachesinAutomation|CATIATutor

(https://catiatutor.com/)

WEBSITENAVIGATION

Home(https://catiatutor.com) / Blog(https://catiatutor.com/)
CATIAAutomation(https://catiatutor.com/catiaautomation/)BasicConceptsofCAAV5(https://catiatutor.com/catiaautomation/basicconceptsofcaav5/)
ApproachesinAutomation

VideoLessonsCategories
Drafting(https://catiatutor.com/listingcategory/drafting/)
GettingStarted(https://catiatutor.com/listingcategory/gettingstarted2/)
PartDesign(https://catiatutor.com/listingcategory/partdesign/)
Sketcher(https://catiatutor.com/listingcategory/sketcher/)
SurfaceDesign(https://catiatutor.com/listingcategory/surfacedesign/)
WireframeDesign(https://catiatutor.com/listingcategory/wireframedesign/)

CATIAArticles
AssemblyDesign(https://catiatutor.com/assemblydesign2/)
AssemblyDesign(https://catiatutor.com/assemblydesign2/assemblydesignassemblydesign2/)
CATIAAutomation(https://catiatutor.com/catiaautomation/)
BasicConceptsofCAAV5(https://catiatutor.com/catiaautomation/basicconceptsofcaav5/)
CATIAHandbook(https://catiatutor.com/catiahandbook/)
AssemblyDesign(https://catiatutor.com/catiahandbook/assemblydesign/)
CLASSA(https://catiatutor.com/catiahandbook/classa/)
Drafting(https://catiatutor.com/catiahandbook/drafting/)
PartDesign(https://catiatutor.com/catiahandbook/partdesign/)
Sketcher(https://catiatutor.com/catiahandbook/sketcher/)
SurfaceDesign(https://catiatutor.com/catiahandbook/surfacedesign/)
TipsandTricks(https://catiatutor.com/catiahandbook/tipstricks/)
DMUV5(https://catiatutor.com/dmuv5/)
DMU(https://catiatutor.com/dmuv5/dmu/)
DrawingBasics(https://catiatutor.com/drawingbasics/)
TipsandTricks(https://catiatutor.com/tipsandtricks/)
TipsandTricks(https://catiatutor.com/tipsandtricks/tipsandtrickstipsandtricks/)

Forums
CAA(https://catiatutor.com/forums/forum/caa/)
CATIAV4(https://catiatutor.com/forums/forum/catiav4/)
CATIAV5(https://catiatutor.com/forums/forum/catiav5/)

LogIn
Username:
Password:
RememberMe
LogIn

ApproachesinAutomation

https://catiatutor.com/approachesinautomation/

1/9

29/1/2017

ApproachesinAutomation|CATIATutor

ApproachesinAutomation
April3,2006
(https://api.addthis.com/oexchange/0.8/forward/facebook/offer?url=https://catiatutor.com/approachesinautomation/&pubid=ra
53d6f43f4725e784&ct=1&title=ApproachesinAutomation&pco=tbxnj1.0) (https://api.addthis.com/oexchange/0.8/forward/twitter/offer?
url=https://catiatutor.com/approachesinautomation/&pubid=ra53d6f43f4725e784&ct=1&title=ApproachesinAutomation&pco=tbxnj1.0)
(https://api.addthis.com/oexchange/0.8/forward/linkedin/offer?url=https://catiatutor.com/approachesinautomation/&pubid=ra
53d6f43f4725e784&ct=1&title=ApproachesinAutomation&pco=tbxnj1.0) (https://api.addthis.com/oexchange/0.8/forward/google_plusone_share/offer?
url=https://catiatutor.com/approachesinautomation/&pubid=ra53d6f43f4725e784&ct=1&title=ApproachesinAutomation&pco=tbxnj1.0)
BasicConceptsofCAAV5(https://catiatutor.com/catiaautomation/basicconceptsofcaav5/)

ThisarticlegivesyouOverviewofVariousapproachesinCATIAV5Automation

AdvantagesofAutomation/Customization
CostReduction
ImprovedEfficiencies
ImprovedQualityThroughStandardization
Customization
Provideadditionalfunctionalitynotprovidedinnativeproducts
Manipulateexistingfunctiontobetterfitcustomerprocesses

ExamplesofAutomation
Theapplicationofautomationinthedesignprocessisvirtuallyunlimited.Someexamplesofautomationatwork:
batchscriptfortheconversionofdrawingfilestoPDF
exportofpointsfromExcelspreadsheettoCADmodel
exportofpointsfromCADmodeltoExcelspreadsheet
gridofpoints,centeredinCADmodel(forelementlayout)
automaticsplinecreation(fromselectionofpoints)
createnormal(perpendicular)linestoasurface

Automationtools

CATIAV5
CATScript,
VBScript
VBA
VB6.0
CAA
Pro/Engineer
Mapkey
Pro/Program
Pro/Web.Link
JLink
Pro/Toolkit
AutodeskInventor
AutodeskInventorAPI
UnigraphicsNX
KnowledgeFusion(KF)
UFUNC

CATIAV5AutomationTiers
CATIA(ComputerAidedThreedimensionalInteractiveApplication)
Openarchitectureallowingtooptimizesolutions.
Processcentricsolutions

https://catiatutor.com/approachesinautomation/

2/9

29/1/2017

ApproachesinAutomation|CATIATutor

NativeCATIAAutomation
1.ParametersAfeaturedefiningadocumentorobjectproperty.
2.FormulaAfeatureusedtodefineorconstrainaparameter
3.DesignTableAtablecontainingvaluestobeappliedtoadocumenttomanageparameter
4.TemplatesADocumentusedtostoreandreuseintent
5.PowerCopyAsetoffeatures(geometricelements,relations,
constraints)groupedinagenericcontexttobeusedinaspecificcontext
LetusseetheminDetail

1.PARAMETERS
IntrinsicParameters
CreatedbyCATIAasabyproductofgeometrycreation
Cannotbedeletedwithoutdeletingassociatedgeometry
UserDefinedParameterscreatedbytheuserforaspecificpurpose
Magnitude(Real,Length,Speed)
String
Boolean
Geometric(Point,Circle,Plane)
ImportFromSpreadSheet

2.Formula
FormulaeRelationsspecifyingaconstraintonaparameter.
FormulaWizardAtoolprovidedtoassistwiththesyntaxandformatwhileapplyingaformulatoaparameter.

https://catiatutor.com/approachesinautomation/

3/9

29/1/2017

ApproachesinAutomation|CATIATutor

3.DesignTables
DesignTable
Providesameanstocreateandmanagecomponentfamilies.
Thesecomponentscanbeforexamplemechanicalpartsdifferingintheirparametervalues.
AnassociativelinkiscreatedbetweenspreadsheetandPartorProduct
DesignTablescanbecreatedinfollowingformats
ExcelSpreadSheet

TabDelimitedTextFiles
CATIADesignTable

4.Templates
Adocument(Part,Product,Drawing,Process)createdinageneralcontextforreuse
inaspecificcontext.
Thenewcontextisdefinedbemodifyingparametersorreplacingspecificationgeometry.
5.PowerCopy
APowerCopyisasetoffeatures(geometricelements,formulas,constraintsandsoforth)thataregroupedtobeusedinadifferentcontext,and
presentingtheabilitytobecompletelyredefinedwhenpasted.
AGraphicalinterfaceisprovidetoguideuserthroughselectionofinputsandvaluationofparameters.
CanbeinstantiatedfromaDocumentorfromafeaturecatalog.

https://catiatutor.com/approachesinautomation/

4/9

29/1/2017

ApproachesinAutomation|CATIATutor

CATIAKnowledgeware
TheCATIAV5Knowledgewareturnsimplicitdesignmethodsintoexplicitknowledgeforobtainingtheoptimumdesign.
Quickassessmentofthebestalternativeforadesignamongstnumerouscombinationsofparametersandconstraints.
Disadvantages
ComplexModelsDifficulttoMaintain
LacksDebuggingHelp
RequiresAdditionalLicenses
KnowledgewareApplications
1.KnowledgeAdvisor
2.KnowledgeExpert
3.ProductEngineeringOptimizer

1.KnowledgeAdvisor
KNOWLEDGEADVISORisaCATIAproductwhichallowsuserstoembedknowledgewithindesignandleverageittoassistinengineeringdecisions,inorderto
reduceerrorsorautomatedesign,formaximumproductivity
Knowledgecanbeembeddedindesigninformof
1.Parameters(AlreadyCoveredinNativeCATIAAutomation)
2.Formulae(AlreadyCoveredinNativeCATIAAutomation)
3.Rules
4.Checks
TheruleandcheckcapabilitiesrequiretheKnowledgeAdvisorproduct.
ARULEisasetofconditionalstatements,wherebytherelationshipbetweenparametersiscontrolled.
ACheckisasetofinstructionsusedtoanalyzethevalueofspecificparameters.Itcausesnoevents.Itsimplyprovidesfeedbacktousersinfollowing
ways
Silent:Nomessageisdisplayed
Information:Auserdefinedmessageisdisplayed

https://catiatutor.com/approachesinautomation/

5/9

29/1/2017

ApproachesinAutomation|CATIATutor

2.KnowledgeExpert
TheKnowledgeExpertproductallowsyoutocreateandmanipulaterelationtypefeatures.Theseparticularfeaturesareorganizedintoahierarchy.
ExpertRule:Anexpertruleisasetofinstructionswherebyyoucanstartanactionforanyobjecthavingatypedefinedinatypelist.
ExpertCheck:Anexpertcheckisarelationwhichonlyverifiesthataconditionistrueforalltheobjectsofoneormoregiventypes.Itdoesnotmodifythe
documentitisappliedto.

3.ProductEngineeringOptimizer

TheProductEngineeringOptimizeristooltooptimizeproductandpartdesignsbyminimizing,maximizingortargetingspecificparametervalues.
ProblemTab

https://catiatutor.com/approachesinautomation/

6/9

29/1/2017

ApproachesinAutomation|CATIATutor

ConstraintsTab

ComputationResultsTab

VB/VBA
Macros/.CATScripts
Free,RapidDeployment,EasytoReuseRecordedmacros,LimitedFlexibility,DifficulttoDebug
Greattoolsforrapiddeploymentofsimpleautomationapplications
Personaltimesavingoperations
Theyarelimitedinscopeandflexibility.
VBA/.CATvba
Free,GraphicalUserinterface(Forms),EditorProvidesDebuggingCapability
Offerincreasedflexibilityandcomplexitythroughimplementationofuserinterfaceformsandmodules
Requiresashortlearningcurve
VBAEnvironmentisNotObjectOriented
VB6&VB.NETRunsOutsideofCATIA,IncreasedImplementationofComponentsandTypeLibraries,IndividualModuleFilesMakesCollaborationand
SharingCodeEasier.

HOWVBAUTOMATIONWORKS?
Howdoesitwork?
DassaultSystemeshasexposedseveralCATIAobjectssothattheycanbecreated,manipulated,anddeletedbyCOMcompliantapplications
HowdoesVBtalktoCATIA?
dllsDynamicLinkedLibraries
ThesearecompiledfilesthatcontainallofthefunctionsthatmakeCATIAV5performanaction.

https://catiatutor.com/approachesinautomation/

7/9

29/1/2017

ApproachesinAutomation|CATIATutor
Thesefilesarebothcompiledandencrypted
ThesefilesarelocatedintheUNLOADdirectoryforCATIAV5(normallyc:\programfiles\DassaultSystemes\B20\intel_a\code\bin)
tlbsTypeLibraryFiles
ThesefilesarenecessaryforexposingfunctionstoWindows.
TheyactasmapswhichpointtothemangledfunctionsinsideofthedllfilesthatmakeCATIAV5work.
ThetlbfilesarelocatedintheUNLOADdirectoryforV5.
Anyexternalapplicationneedstohaveaccessto(andreference)thesetype
libraries

CAA
CAA(ComponentApplicationArchitecture)
MorePowerfulandFasterthanVB,HardertoLearn,ProvidesAccesstoInterfacesnotcurrentlyavailabletoVisualBasic.
ThePrimarylanguagefordevelopmentisC++.Javaisalsosupportedbutitnotascommon.
AdvantagesofCAA
SinglesourcecodeforbothWINDOWSandUNIX
Newwizardslikeworkbenches,interactivecommands,dialogboxesetc.,canbecreated
Addnewdataandbehaviorsonanexistingfeaturewithoutoverloadingstandardbehaviors
NospecificRuntimelicenseisrequired
CustomizedGUIusing

Conclusion

https://catiatutor.com/approachesinautomation/

8/9

29/1/2017

ApproachesinAutomation|CATIATutor

Comments

LeaveComment

secured

Copyright2014http://catiatutor.com

(https://twitter.com/catiatutor)
(https://www.facebook.com/caxtutor)

https://catiatutor.com/approachesinautomation/

9/9

Vous aimerez peut-être aussi