欢迎来到天天文库
浏览记录
ID:28973580
大小:2.39 MB
页数:234页
时间:2018-12-15
《精典材料patran的pcl用户手册v》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、FUNCTIONinit()WIDGETidINTEGERi,statusREALx_loc,y_loc,form_width,form_heightREALframe_widthREALf_width,half_spaceSTRINGversion[3]STRINGmethod_opt[NAME_LENGTH],method[NAME_LENGTH]form_width=FORM_WID_SMLframe_width=form_width-FORM_L_MARGIN-FORM_R_MARGINf_width=frame_width-FRAME_L_MARGIN-@FRAME_R_MARG
2、IN-FRAME_2EDGEhalf_space=INTER_WIDGET_SPACE/2.0settings.pclp3prolog.pclp3midilog.pclp3epilog.pcl.Patran.EventMapsMSC.PatranPCLHandbookInaNutshell7WhatisPCL?7WhatcanPCLbeusedfor?8HowdoesPCLwork?9Allyoureallyneedtoknowisonthispage!10Documentation10PCLforEveryone11EnteringEquations11EnteringData12Ses
3、sionFiles13RebuildingModels14PCLfortheMoreAdventurous17ParametricModeling17AddingaGraphicalUserInterface,GUI21Exercise1:SessionFiles22PCLProgrammingBasics24Overview24PCLExpressions26Expressions,Comments,SyntaxTips26Identifiers28NamingConventions28Variable/FunctionScope28StructureofaPCLFunction28Fu
4、nctionBasics28SimplePCLfunctionExample28Exercise2:HelloWorld!28Exercise3:EffectivePCL28PCLOperators28Stringcomparisons28PCLVariablesandConstants28Datatypes28VariableScope28DirectlyAllocatedArrays28Virtualarrays28Virtualstrings28LoopControlStatements28ForLoop28WhileLoop28RepeatLoop28BREAK28CONTINUE
5、28Exercise4:WritingFiles28Exercise5:ReadingFiles28ConditionalControlStatements28IFStatement28SWITCHStatement28StructureofaPCLFunction28CompilingandLinkingPCLFunctions28PrimaryPCLDirectives28CompilingPCLoutsideofMSC.Patran28LinkingCompiledLibraries28OtherPCLDirectives28StartUpFiles28Exercise6:p3epi
6、log.pcl28Debugging28DebuggingCompileErrors28DebuggingRuntimeErrors28AccessingPCLFunctions28FromTheCommandLine28FromAnyMSC.PatranForm28PCLFunctionswithFieldVariables28MSC.PatranBuilt-InFunctions28NamingConventionsforApplications28NamingConventionsforOtherOperations28Exercise7:GroupElementsByShape28
7、GraphicalUserInterface28ThePCLClassStatement28PCLWidgets28RequiredFunctionsforBuilding/DisplayingaForm28Theinit()Function28Thedisplay()Function28WidgetCallbacks28WhatAreThey?28WhatAreTheyUsedFor?28CallbackArgumen
此文档下载收益归作者所有