Samar da aikace-aikacen VBA da Microstation

Don yin aikace-aikace, Microstation yana goyan bayan harsuna daban, ciki har da Ɗauki Ƙara Maɓallin Microstation (MDL) wanda Bentley gurus ya fi so. Hakanan yana tallafawa tsoffin asali tun shekaru da yawa da suka gabata kuma a wani lokaci yana tallafawa Java, saboda haka wannan sigar da ake kira Microstation J.

Amma don ci gaba da dandano da ba tare da yawa baya, kamar yadda m kamar yadda yake game da Kayayyakin Basic module cewa ya zo tare da shirin, versions kafin XM (8.9) ya hada da cikakken edita na Kayayyakin Basic 6.3, a cikin mafi yawan 'yan ke kara.

Na'urar mahimmanci na asali

Don farawa

A bayyane yake cewa wanda bashi da ra'ayin shirye-shiryen bashi da abin yi da yawa. Koyaya, ga wanda ya fahimci Shirye-shiryen Abinda Aka Shirya, kuma yayi wasa da Visual Basic 6, zaku ga kanku kusan mutu kuna dariya. Wasu misalai galibi suna zuwa da shirin, amma ga dabarar da na ga masu fasaha suna amfani da ita: Yi amfani da macros.

Microstation yana taimakawa wajen adana ayyukan yau da kullum a cikin hanyar macro a cikin mvba tsawo, lokacin da kallon lambar yana da sauƙi don farawa a hanyar yadda shirin ke aiki don Microstation maimakon sa sutura shirt dama daga farawa. A yanzu zan yi amfani da misalin abokai na Mexico, waɗanda makon da ya wuce suka tambaye ni don taimakawa wajen cin zarafi a Geographics.

Yadda za a ƙirƙiri macro.

Ayyuka> macro> manajan aikin.

Na'urar mahimmanci na asali

A nan an halicci sabon aikin, kuma an sanya sunan. Yawancin lokaci ana adana su Fayilolin Shirin / Bentley / Workspace / ayyukan / vba amma zaka iya zaɓar kowane makullin.

Na'urar mahimmanci na asali

Yadda za'a ajiye shi.

Don fara rikodi, latsa gunkin mai shuɗi. Shirin zai adana duk abin da aka yi daga nan zuwa gaba.

Misali: Sanya a shinge na ra'ayi, Kashe duk matakan fãce da iyakoki da apple da kuma centroid, cire links iyakoki zuwa centroids, samar da siffofi a cikin 62 matakin, kashe iyaka, cire links centroids zuwa siffofi, kaya umurnin a theming, theming bisa ga kansu a cikinsu akwai apples tare da launi daban-daban don kowane bangare, sanya labarin.

Za'a iya dakatar da aikin, ko ƙare tare da gunkin akwatin ja. Idan an danna maballin wasa, shirin zai aiwatar da ayyukan yau da kullun kamar yadda na adana shi. Amfanin wannan ko da ba tare da shirye-shirye ba yana da ban sha'awa sosai idan zaku iya amfani da shi, Na ga menu waɗanda aka yi a cikin tsarkakakken macro daga waɗanda ba masu shirye-shirye ba.

Idan kana son duk lokacin da muke kashewa Geographics An yi amfani da macro, an kunna shafi na hudu Matsar da kai, kuma wannan zai haifar da m a cikin fayil ɗin msgeo.ucf.

Yadda za a shirya lambar.

Don ganin lambar, danna maballin da ya buɗe Editan Kayayyakin Gida.

Na'urar mahimmanci na asali

Komai an adana shi azaman tsari ɗaya, amma idan kayi shi mataki-mataki, to yana sauƙaƙe haɗa bayanai. Hakanan za'a iya gudanar dashi tare da zaɓi mataki zuwa mataki, wanda zai ba da damar kashe shi ta hanyar sassa a matsayin mai lalacewa.

Na'urar mahimmanci na asali

Misalin da nake nuna muku, wanda abokaina daga arewa suka riga suka yi aiki a kansa, ya haɗa da wasu kayayyaki daban don tabbatar da haɗin kan bayanai, aiwatar da ayyukan hanyoyin yau da kullun, ƙirƙirar mahaɗan haɗin kai, aikace-aikacen taken da daya don saitunan duniya. Lambar na iya ɗauka password, wanda ya hana masu aiki daga haddasa bala'i ko kuma taimakawa rabuwa da ɗakin dakunan karatu wanda ba mu so mu raba tare da mai shiryawa mai amfani.

4 Amsawa zuwa "Developaddamar da aikace-aikacen VBA tare da Microstation"

  1. Tere. Selline küsimus. Shin za a iya amfani da su don fitar da fitarwa / shigo da Trimble S6 da PowerDraft-i tegelete? Shirye-shirye

  2. Ina tsammanin irin wannan tsari ne sananne, kyafaffen daji.

  3. Kuna shan taba taba taba taba kome ba.

Barin amsa

Your email address ba za a buga.

Wannan shafin yana amfani da Akismet don rage spam. Koyi yadda aka sarrafa bayanan bayaninka.