Uphuhliso lwezicelo ze-VBA nge-Microstation

Ukwenza izicelo, i-Microstation isekela iilwimi ezahlukeneyo, kubandakanywa ULwimi loPhuhliso lwe-Microstation (MDL) ekhethwa yiBentley gurus. Kwakhona isekela isiseko esidala kwiminyaka emininzi eyadlulayo kwaye ngezinye ixesha yanyamezela iJava, ngoko ke inguqulelo ebizwa nge-Microstation J.

Kodwa ukuba ukuphuhlisa kunye bangcamle yaye ngaphandle umva, aluncedo njengoko lumalunga kwimodyuli Basic Visual ukuba uza nkqubo, iinguqulelo phambi XM (8.9) kuquka umhleli ngokupheleleyo Visual Basic 6.3, kwi zakutsha nje okungakumbi.

microstation ebonakalayo

Ukuqala

Kucacile, ukuba umntu ongenalwazi ngeprogram ayinanto yokwenza. Nangona kunjalo, kumntu oqonda inkqubo ejoliswe kuyo, kwaye udlale kunye neVisual Basic 6, uya kufumana ukufa ngokuhleka. Ngaloo nkqubo kudla imimiselo, kodwa apha, inkohliso endiyibonayo isebenzisa ochwepheshe: Sebenzisa ii macros.

Microstation lula lugciniwe njenge yesiqhelo macro kwi MVBA kulwandiso, ebona ikhowudi inikezelwa kwifomu uqale senkqubo ye MicroStation isebenza kunokuba yenza imikhono yakho yemikhono ukususela ekuqaleni Ngoku ngoku ndiya kusebenzisa umzekelo wabangane baseMexico, iveki ephelileyo Bandibuza uncedo lokubambisa kwiiGographics.

Indlela yokudala i-macro.

Izixhobo> i-macro> umphathi weprojekthi.

microstation ebonakalayo

Apha iprojekthi entsha idalwe, kwaye ibelwe igama. Ngokuqhelekileyo zigcinwa kuyo Iifayile zeFayile / iBentley / indawo yokusebenzela / iiprojekthi / vba kodwa ungakhetha naluphi na indawo.

microstation ebonakalayo

Ungayilondoloza njani.

Ukuqala ukurekhoda, cindezela uphawu lwevili lesibhakabhaka. Inkqubo iya kugcina yonke into eyenziwa ukususela ngelo xesha.

Umzekelo: Beka ucingo lombono, Cima onke amanqanaba ngaphandle imida apile kunye centroid, susa imida iilinki centroids, ukudala iimilo kwinqanaba 62, cima imida, susa iilinki centroids ukuba iimilo, umyalelo abayithweleyo theming, theming ngokwecandelo ukuba ama-apile kunye umbala ethile kwicandelo ngalinye, beka ilivo.

Inkqubo inokumiswa, okanye ipheliswe nge icon box ebomvu. Ukuba iqhosha lixinekile ukudlala, inkqubo iya kwenza inkqubo epheleleyo njengoko ndiyigcine. Uncedo lwale ngaphandle kwenkqubo luyathakazelisa ukuba ungayifumana inzuzo, ndibone imenyu eyenziwe kuphela ngabangekho program.

Ukuba ufuna sonke ixesha esilenzayo Geographics i-macro ilayishiwe, ikholomu yesine ivuliwe Ukulayisha ngokuzenzekelayo, kwaye oko kuza kwenza uguquko kwifayile msgeo.ucf.

Indlela yokuhlela ikhowudi.

Ukubona ikhowudi, cofa iqhosha elivula umhleli weVisual Basic.

microstation ebonakalayo

Yonke into igcinwa njengeyomodyuli enye, kodwa xa kwenzeka ukunyathela ngamanyathelo, iya kuququzelela ukuhlanganiswa kweengxelo. Inokuphinda iqhutywe kunye nenketho inyathelo ngesinyathelo, okuya kukuvumela ukuba iqhutywe ngamalungu njengengxaki yokukhwabanisa.

microstation ebonakalayo

Umzekelo endikubonisa kona, abasebenze abahlobo ngaphezulu North kuquka iminqongo ezahlukeneyo ukuze kukhuselwe yokudibanisa kuvimba, ngokwenziwa NEW lwesiqhelo, ukudala amacandelo ezinxulumene, ukuphunyezwa kwe weendawo kunye enye izilungiselelo jikelele. Ikhowudi inombolo yokuvula, okuvimbela abaqhubi ukuba bangabangela intlekele okanye baqulethe ukwahlukana kwamathala eencwadi eklasi esingafuni ukwabelana nawo ngomprogram yomsebenzisi.

Iimpendulo ze-3 "Ukuphuhlisa izicelo ze-VBA nge-Microstation"

Shiya impendulo

Idilesi yakho ye email aziyi kupapashwa.

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda indlela idatha yakho yokubhaliweyo isetyenziswe ngayo.