Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: VBA change level number of element

$
0
0

[quote user="Xavi García Maranges"]SetoLevel = ActiveDesignFile.Levels("Por defecto")[/quote]

One more comment: This access to a level object is correct, but is not robust in case the level does not exit and the code crashes with error. If it's ensured the level exists (e.g. dgnlib is used or your code creats the level), the code is fine.

Regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>