欢迎来到天天文库
浏览记录
ID:40083306
大小:908.73 KB
页数:4页
时间:2019-07-20
《lesson-3-GC - Lesson 3》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、GenerativeComponents101Lesson3:CreatingaGenerativeComponentWhatisaGenerativeComponent?Glossary:GenerativeComponent.ToputitverysimplyaGenerativeComponentcanbecomparedtoacell–exceptaGChasalotmorepoweraswecanmakeonethatcontainsGlobalVariablesandweknowthatwhenyouchang
2、etheGlobalVariableallreferencestothatvariablewillchangealongwithit.WecreatedapyramidinthelastexercisesoletsusethistocreateanewFeature(AfeaturecanbeanythingfromasinglepointtoamorecomplexGenerativecomponent,whichwearecreating).GotoTools>GenerateFeatureType.Thedialog
3、boxGenerateNewFeatureTypeappears.1.FirstgiveyourGenerativeComponentaname.StartallCompanyfeatureswithCompany_nametohelpusidentifyusercreatedfeatures.WewillnameourpyramidCompany_Pryramid.2.ThenweneedtoDefineInputs.Yourinputsarewhatyouneedtodrawbeforeyoucanplaceyourn
4、ewfeature.Letsuseour3basepointsofthepyramid.ThismeansthatIneedtodraw3pointsbeforeIcanplacetheCompany_Pyramidintothedrawing.3.Ichosemy3basepointsfrommysymbolicdiagramandtheyturnedblue–alsotuningadashedblueweretheassociatedcomponents–myBaseCSandbyglobalvariable.When
5、partsturnadashedblueit’sGC’swayofsayingthatyouneedtoselectthemtoo!4.Clickok.YouwillnoticetheCreateNewFeaturedialogisnowfullofinputsandoutputs.Remember:Inputs6、aximumoutputs!Wenowneedtolookatourinputsandoutputsindetail.Theinputsareinthetoppartofthedialogandtheoutputsinthelowerpart.5.IntheinputsplaceticksintheReplicatablecolumn.Glossary:Replication.LetssaywecreatedaGCthatcontainedalinedrawnbetweenastartpointandendpoint.Wh7、enplacingthisnewfeatureitwouldrespondtoasinglestartpointandasingleendpoint,butifithad“inbuilt”replications,itcanactuallyrespondtoaseriesofstartpointsandaseriesofendpoints.TheresultingGenerativeComponentwouldendupbeingasetoflines.Thisisagoodfunctiontohave!Letsticka8、llourinputstobeReplicatable.6.Nowletslookatouroutputs.Atickintheconstructioncolumnmeansthatyouwon’tseethatoutputwhenyouplaceyourGC(itsjustbehindthescene
6、aximumoutputs!Wenowneedtolookatourinputsandoutputsindetail.Theinputsareinthetoppartofthedialogandtheoutputsinthelowerpart.5.IntheinputsplaceticksintheReplicatablecolumn.Glossary:Replication.LetssaywecreatedaGCthatcontainedalinedrawnbetweenastartpointandendpoint.Wh
7、enplacingthisnewfeatureitwouldrespondtoasinglestartpointandasingleendpoint,butifithad“inbuilt”replications,itcanactuallyrespondtoaseriesofstartpointsandaseriesofendpoints.TheresultingGenerativeComponentwouldendupbeingasetoflines.Thisisagoodfunctiontohave!Letsticka
8、llourinputstobeReplicatable.6.Nowletslookatouroutputs.Atickintheconstructioncolumnmeansthatyouwon’tseethatoutputwhenyouplaceyourGC(itsjustbehindthescene
此文档下载收益归作者所有