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

RE: MDL APPLICATION CELLSEL LOAD

$
0
0

Hi Richard,

please read and follow:

There are several issues in your post that makes it not easy to answer:

  •  Important information are missing: What product do you use and what version?
  • Never post any code as a plain text. Always use Syntaxhighlighter tool (yellow pencil icon) and use a correct language, so it will be properly displayed and colorized. To read a code as the plain text is not easy.
  • To use CAPITAL LETTERS ONLY is treated as quite bad habbit in all forums I know, not only at this web.
  • In your text there is no question or request with what do you want to help. It's just a summary what do have done.

[quote user="Richard Phillips"]I want my tool bar buttons to work load various .CFS files[/quote]

It's probably the only part which seems to be clear and I hope I am correct to reformulate it to even more clear request: I want to have a toolbar, where every icon will start Cell Selector tool with different configuration defined by own .csf file. Is it correct?

If yes, it can be achieved without any programming. Requirement are:

  • You use standard customization tools with toolbar / tools stored in dgnlib.
  • MS_CELLSELECTORDIR variable points to a folder with your csf files. By default this variable points to cell folder.

In such case you should use key-in assocated with the tool:

[cellsel] cellsel file open <csf file name>

for example:

[cellsel] cellsel file open cell_selector_cfg_1.csf

It ensures MicroStation will load automatically Cell Selector tool if not loaded already and will open it with the defined csf file.

With regards,

  Jan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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