©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014EnterpriseKnowledgeLanguageGuide3DEXPERIENCER2015xPavankumarGOPAVARAM©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014IntroductiontoEKLEKLSyntaxMyfirstEKLWhatIcandowithEKLWhatIcannotdowithEKLTableofContentsErrorHandling&KnowledgeMonitorWorkingwithExcel/CSV,XML&TextfilesAction&VisualBasicActionWorkingwithAction&CatalogMessagingNavigatingthroughproductobjectsCreatingnewproductobjectsWheretofindmoreinformation?©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014IntroductiontoEKL•Knowledgewaresolutionsdeliverasetoftoolsthathelpuserstodefine,reuseandsharetheirknow-howthroughouttheextendedenterprise.•Knowledgewareisalsotailoredtosupportcustomerbusinessprocesses,enablingcustomizationofProductLifecycleManagement(PLM)behaviorsandapplicationsthroughbusinessrules.•EnterpriseKnowledgeLanguage(EKL)isaprogramminglanguageinV5&V6/3DEXPERIENCE.Itisintendedforthedevelopmentofapplicationsandtheirintegrationinamoregeneralcontext.©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014EnterpriseKnowledgeLanguage•TheEKLisaDS,portable,objectoriented,interpreted,AutomationlanguagethatmanipulatesdirectlytheV6objects:•DS:designed,engineered,maintainedbyDS•Portable:independentfromOS•ObjectOriented:manipulatesobjectswithmethods•Interpreted:doesn’trequirecompilation•Automation:enablestocreate&manipulateexistingclassesbutdoesnotenabletodeclarenewclasses.ThereisanextensioncalledKMLthataddssomeobjectmodelingcapability.ThisispartofDesignAppsDeveloperRole(KAC).•V6objects:providesnativeaccesstoV6constructs©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014UnderstandingthestructureofEKL•V6objectsaremanipulatedusingafederatedobjectmodelcomposedofthefollowing:1.Types:Ahierarchyoftypes(onetypeinheritsonlyfromonetype)2.Attributes:oEachtypehasalistofattributes:Simple(boolean,string,real,integer,etc..)ReferencetootherobjectsList(ofvaluesorreferenceobjects)Components(aggregatedobjectsorlistofaggregatedobjects)3.FunctionsandMethods:SomeFunctionsandMethodsdefinedontypes4.Argument:Functionsandmethodshavealistofarguments1234©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014UnderstandingtheStructureofEKL•EKLisdefinedin4layersfromtheverysimpleMathematicallanguage(M-EKL)tothemostcompleteAdvancedlanguage(A-EKL)MathematicalEnterpriseLanguage(M-EKL)Groupsthelanguageoperatorsandthenumericalfunctions(math,measures,…)necessarytoexpressthesetsofequationsusedtovaluateparametersinEngineeringRulesCapture.CoreEnterpriseLanguage(C-EKL)isusedinthefollowingKnowledgeartifactsthatarerelatedtotheupdateprocessthroughtheirparameters:FormulasDesigntablesfunctionsRulesandchecksprovidedintheEngineeringRulesCaptureapp.ConstraintssatisfactionfeatureprovidedinDesignOptimization.AdvancedEnterpriseLanguage(A-EKL),providesawaytomanipulatefeaturesasKnowledgeObjects:BasicattributesandmethodsSearchcapabilitiesValuepointersmanipulationApplications-specificservicesExtensibleEnterpriseLanguage(X-EKL)ContainstheapplicativepackagesavailableinEKLandisalsothewaytoaddfunctionstotheEKLlanguage.©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014ValueTypesObjectTypesDiscoveringtheCoreHierarchyofTypesinEKLObjectTypeLiteralFeatureEnumereRealStringBooleanDatePLMEntityListTypesVisualizableIntegerMagnitudeBodyAbstract(usedonlytoclassify)Concrete(atleastoneimplementationexists)Basictypeforanything(objectorvalue)RootforPLMObjectsTypeofPLMObjectBasictypeforallobjectsTypeofobjectsinrepresentationListofpossiblemagnitudesisfixedbythesystemEnumeratedType(Fixedpossiblevalues)2015x-AttributeMappingisremoved-DatabaseObjectintroduced©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014DiscoveringtheCoreHierarchyofTypesinEKL•ObjectType•AV6objecttypedescribesaclassificationofalltheV6objectsdependingonthecharacteristicsthatwemayfindonthemandthebehaviorsthattheyhave.AV6objecttypealwaysinheritsfromanotherone(exceptthe“Feature”typewhichistherootforallV6objecttypes).•AType•Inthesystem,wealsointroducetypesofvalue:Integer,Real,Boolean,String,andallthemagnitudes(LENGTH,VISCOSITY,etc…).Themixoftypesofvaluesandtypesofobjectsprovidesacoherenttypingenvironment.•Feature(Coretypes&functions)•Allapplicativetypesareinheritingfromabasicobjecttypecalled“Feature”whichmeansFeatureisthebasictypeforallobjectsinV6.©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014UnderstandingEKLGeneralities•ThesectionwillaidfurtherunderstandingonhowEKLisbuiltandhowtouseit•UnitsManagement:Managedinmeter-kilo-secondsystem,wheretheunitcoherenceisverified.•Objectsmaysupportmultipletypes(AProductmaysupportVPMReference,PLMCoreReference,Feature,etc…)©DassaultSystèmes|ConfidentialInformation|10/7/2015|ref.:3DS_Document_2014UnderstandingEKLGeneralities•Somefunctionshavevariableoroptionalarguments•Itispossibletoreplacevariableargumentswithalist•InmostusagesofEKL,rulesarecreatedinthecontextofaparticularmodel•Th