EKL-Guide-R2015X-v1

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

©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..)ReferencetootherobjectsList(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

1 / 51
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功