Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Browsing all 7260 articles
Browse latest View live

RE: [CONNECT C++] Converting old hidden line removal code using...

[quote user="Kari Heinola"]The problem is not about finding named view, but writing the saved view to hidden line file[/quote]What about NamedView.CopyAndConvertToFile(DgnFileR destination)?

View Article


Image may be NSFW.
Clik here to view.

[CONNECT C++] DgnElementSetTool fence & selection processing

I need guidance on writing a tool that performs fence processing using DgnElementSetTool.  Unfortunately there is no example delivered with the SDK that illustrates fence processing using...

View Article


RE: [CONNECT C++] DgnElementSetTool enum ErrorNums

The default implementation of several DgnElementSetTool methods calls OutputErrorMessage with these enum values to output errors, for example:bool DgnElementSetTool::_OnInstall () { if (SOURCE_Fence ==...

View Article

[CONNECT C++] DgnElementSetTool enum ErrorNums

Class DgnElementSetTool defines enum ErrorNums...enum ErrorNums { ERROR_NUM_NoFence = 68, ERROR_NUM_NoFenceElems = 122, ERROR_NUM_NoFenceElemsOutside = 250, ERROR_NUM_NoSSElems = 85,...

View Article

RE: [CONNECT C++] DgnElementSetTool fence & selection processing

Jon,Maybe you should post your code? One of the main reasons DgnElementSetTool was created was to make it so that tools could be mostly agnostic about where the elements originated, be it single...

View Article


RE: [CONNECT C++] IViewManager::LoadSpriteFromRsrc replacement attempt

Any chance of seeing IViewManager::LoadSpriteFrom Rsrc() in update 5 ?

View Article

Image may be NSFW.
Clik here to view.

[V8.i C++ ss4] API to get list of Point Cloud presentation style list

Hello,i'm using Microstation V8.i ss4 C++ sdk.Is there a way to get dynamically Point Cloud presentation style list ?In this example, i will get the following list :Couleur RVB, Intensité, Elévation,...

View Article

RE: _onDataButton question

It's always treated as a down event. By default our tools support a drag operation by just having _OnDataButton called from _OnModelEndDrag. This way the exact same logic can be used for example to...

View Article


_onDataButton question

Using the drawing tool example from the SDK there is a method for the _onDataButton.  Is there anyway to determine if this is a button up or button down event?  Right now it seems to fire twice if you...

View Article


RE: [CONNECT C++] Converting old hidden line removal code using...

I have tried using code below but the resulting file has no saved views.DgnFileP destination = hln_file->GetDgnFileP(); NamedViewPtr nm = namedView->CopyAndConvertToFile(*destination);For the...

View Article

RE: [CONNECT C++] Converting old hidden line removal code using...

Try adding a call to WriteToFile after calling CopyAndConvertToFile. -B

View Article

RE: [CONNECT C++] Converting old hidden line removal code using...

That helped, Thanks.

View Article

RE: [Connect update 4 mdl] Does mdlKISolid still exists in Connect?

Hi, Never mind, I have found what I was looking for thanks Nenad

View Article


[Connect update 4 mdl] Does mdlKISolid still exists in Connect?

Hi,I am migrating from v8i to Connect and wondering about mdlKISolid functions like mdlKISolid_beginCurrTransmdlKISolid_elementToBodymdlKISolid_endCurrTrans What reference do I need or are these...

View Article

RE: V8i C# Addin - raster attachments

Hi Mike, I think (based on what I remember from older discussion in this forum) Raster Manager is not initialized fully when a file is opened using OpenFileForProgram. In my opinion it makes sense:...

View Article


RE: V8i C# Addin - raster attachments

Thanks Jan for the quick reply, I'm running some reports on both drawing & raster attachments and it just looks a little nicer & runs a little quicker when I don't have to startup graphics. I...

View Article

V8i C# Addin - raster attachments

I'm trying to report on the status of missing/found raster references in a dgn file. It appears I the RasterManager.Rasters only returns raster information on file open graphically, if I open a file...

View Article


RE: Use Excel to run Macro in Microstation PowerDraft

I found the way to open a specific .DGN file in PowerDraft via the following command in Excel VBA macro: On Error Resume Next RetVal = ShellExecute(0, _"open", _ Path_PowerdraftExe, _ DGN_File, _...

View Article

RE: Use Excel to run Macro in Microstation PowerDraft

Hi Julien,[quote user="Julien BIssonnette Lapierre"]via the following command[/quote]I recommend to use Syntaxhlighlighter tool (yellow pencil icon) to insert a code to your post. This tool, when the...

View Article

Use Excel to run Macro in Microstation PowerDraft

Hello,I'm using MicroStation PowerDraft Version 07.01.01.16 Windows x86 and I'm wondering if there's a way to open a PowerDraft .DGN file and launch a macro via an Excel VBA macro.In other words, I...

View Article
Browsing all 7260 articles
Browse latest View live


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