Microstation v8i topo files not falling into place
I need help I have imported an AUTOCAD file with some line work and it picked it up flawlessly the issue that I am having is when I attach actual Microstation file to the project I am doing they do not...
View ArticleRE: [V8i MDL] How can I Facetise Non-Planar Shapes?
_ProcessFacetSet works. But when I use ElementFacetSet::GetNormal, bmake prompts that : error LNK2019: "__declspec(dllimport) public: struct _dPoint3d const * __thiscall...
View ArticleRE: [V8i MDL] How can I Facetise Non-Planar Shapes?
From the MicroStationAPI help:DVec3d const* ElementFacetSet::GetNormal ( Int32 index )The return type is DVec3d const*, not DPoint3d const*.Linker Error[quote user="*** Chen"]bmake prompts that : error...
View Article[V8i MDL] How can I Facetise Non-Planar Shapes?
The attached DGN shows a pipe design with a few elbows. An unknown third-party app., probably not MicroStation-based, created this object. It is constructed from a number of shapes, some non-planar,...
View ArticleRE: [CONNECT] Delivering an Application
I believe Windows registry doesn't store the Workspace or WorkSet location but you can get them from ConfigurationPath registry key value plus Workspaces.Under this folder, all workspaces are denoted...
View ArticleRE: [V8i MDL] How can I Facetise Non-Planar Shapes?
Thank you Jon! The return type issue is solved by defining a macro for DVec3d.
View ArticleRE: [V8i SS3 c#] Setting element line style not utilizing the default...
Hi Maury,I have tested the behavior of line style scales and found the results are depending on the active settings for line style.So if ActiveSettings.LineStyle is set to an internal line style ( 0 to...
View ArticleRE: [CONNECT C++] Assigning a GCS to a raster attachement
Hi Bruce, Does calling _OnRestartTool() from your _OnDataButton() help? Sometimes you need to restart the tool to get a fully cleaned up effect; typical in:...
View ArticleRE: [CONNECT] Delivering an Application
That is the correct location to identify MicroStation CONNECT's base "ConfigurationPath". You can do a quick test like we use for PowerShell shell enhancements: for /f "tokens=*" %a in ('PowerShell -c...
View ArticleRE: [V8i MDL] Loading DialogItemListRsc resources via mdlResource_load()
After you've loaded your item list resource, you need to add it to your dialog using mdlDialog_itemsLoad().
View ArticleRE: [V8i MDL] Loading DialogItemListRsc resources via mdlResource_load()
[quote user="Jon Summers"]you need to add it to your dialog using mdlDialog_itemsLoad().[/quote]Sorry - I should have been more clear. I do that, but it seems that only the first items is "drawn". I've...
View Article[V8i MDL] Loading DialogItemListRsc resources via mdlResource_load()
I'm attempting to use a DialogItemListRsc, one for each "similar" type of data (OptionButtons) so I can use mdlResource_load to load the correct OptionButton resource when my tool starts. Initially,...
View ArticleRE: [V8i VBA] Detecting if coordinate is above or below target element
I believe I have just solved my calculation of the cross product correctly:Select Case oElement.Type Case msdElementTypeComplexString SourceCoordinate = Point3dFromXY(data(i, 0), data(i, 1))...
View Article[V8i VBA] Detecting if coordinate is above or below target element
As a followup to one of my previous threads here, the image below is is my target element (its 22miles long) with the placed cells also shown (very hard to see at this scale)This is a close-up where...
View ArticleRE: [V8i MDL] Loading DialogItemListRsc resources via mdlResource_load()
Please post the resource definition of your dialog and item list.
View Article[CONNECT C++] Check whether an Item Types library is Available
How can I check to find if an Item Types library is available in the current session of MicroStation?That is, I want to find if a schema is visible and available to my application. The question arises...
View ArticleRE: [CONNECT C++] Check whether an Item Types library is Available
I am assuming native code... You need to check each file in turn (active file first, then dgnlibs). You can do that either by: - Using ItemTypeLibrary::FindByName() for a specific DgnFile; or -...
View ArticleRE: [V8i VBA] Detecting if coordinate is above or below target element
[quote user="Barry Lothian"]what is the best method to calculate coordinates at a specified master unit distance along the Normal Vector from the current SourceCoordinate value?[/quote]Hi Barry,you may...
View ArticleRE: [V8i MDL] Loading DialogItemListRsc resources via mdlResource_load()
After some more testing, it seems the issue is with the 5th param of mdlDialog_itemsLoad(), which is "int beforeItemIndex". When I used -1 to have the items loaded (appended) to the end of the dialog...
View ArticleRE: Metadata
Hi Don, I am not sure if I understand you question correctly ... but it's common feeling everytime I see "metadata" term used ;-) General definition of "metadata" is "data about data" or "data that...
View Article