[CE5 C#] DgnPrimitiveTool with WPF
I saw some examples of how to apply Form into DgnPrimitiveTool, but I saw nothing about WPF together with DgnPrimitiveTool.Are there any examples of merging DgnPrimitiveTool with WPF?Thanks!
View ArticleRE: [V8i C#/MDL] Translating StatusInt into something readable.
[quote user="Jon Mercer"]Could someone either point me to a reference that I can look up these codes [/quote]MDL errors are mostly to be found in the C header mdlerrs.h, which you'll find in the...
View ArticleRE: [V8i C#/MDL] Translating StatusInt into something readable.
Hi Jon,[quote user="Jon Mercer"]The function returns a 'StatusInt' which indeed does return an integer/long value. But I don't understand what this is or means.[/quote]StatusInt is exactly what the...
View ArticleRE: [V8i C#/MDL] Translating StatusInt into something readable.
Thanks! Sorry I saw Jan's solution first weird! But thank you both :-)
View Article[V8i C#/MDL] Translating StatusInt into something readable.
I wonder if anyone could help please? I've got various unmanaged MDL functions in a C# addin for microstation v8i. The implementation of these is fine and when they work it's great.Here's some code for...
View ArticleRE: [CONNECT C++] Issue with TextBlock->FindText() and TextNode Elements
Bob: I took your test case and "tweaked" it (modified a wprintf() and added eeh.ReplaceInModel()). I have included a .dgn file in the zip with a single text node. If you try and change the "B" in the...
View ArticleRE: [V8i C# MDL] mdlView_setClipBoundaryElement -168 MDLERR_NOCLIPVOLUME - Help!
Hi Jon, without testing, I think for mdlView_setClipBoundaryElement viewIndex is int (Int32) and elementID is Uint64 and should not be ref, it's value type passed to function. With regards, Jan
View ArticleRE: [V8i C# MDL] mdlView_setClipBoundaryElement -168 MDLERR_NOCLIPVOLUME - Help!
Thanks Jan, in the end it was sensitive about the viewindex as Int32 nothing else. Weird.
View ArticleRE: [V8i C# MDL] mdlView_setClipBoundaryElement -168 MDLERR_NOCLIPVOLUME - Help!
Hi Jon,[quote user="Jon Mercer"]in the end it was sensitive about the viewindex as Int32[/quote]It's good to know where the problem was and that it works now :-)[quote user="Jon Mercer"]nothing...
View Article[V8i C# MDL] mdlView_setClipBoundaryElement -168 MDLERR_NOCLIPVOLUME - Help!
Wondering if anyone would be able to help with an issue I have setting the clip volume for a view using mdlView_setClipBoundaryElement.Here's the implementation:[DllImport("stdmdlbltin.dll",...
View ArticleRE: [V8i - VBA ] Dimension with several segments
Hi,[quote user="rsousa"]How can I acess to each dimension indiviadually thru VBA[/quote]Dimension element properties implement access through index (they can be treated as arrays). If no index (segment...
View Article[V8i - VBA ] Dimension with several segments
How can I acess to each dimension indiviadually thru VBA, when we have one dimension with several segments?I can only get and change the first segment. I've tried to implement drop method, but it...
View ArticleRE: [CONNECT SDK] .NET Framework version
In the .csproj file,Change "$(MS)mdlapps\" to "$(MS)mdlapps"Change OutputPath from 3 line into one line:Original style:<OutputPath> $(MS)mdlapps</OutputPath> Turn it...
View Article[CONNECT SDK] .NET Framework version
Installed CONNECT Update 4 and the SDK. I rebuilt all the SDK examples. The C++ examples build OK, but the .NET examples advise me that "warning MSB3644: The reference assemblies for framework...
View ArticleRE: [CE5 C#] DgnPrimitiveTool with WPF
I guessed this was similar to Adapter, I have tried to edit the public partial classform className : UserControlto className : ToolSettingsHostBut I was not able to compile it. Upset.It tells: Partial...
View ArticleRE: [CE5 C#] DgnPrimitiveTool with WPF
Hi,[quote user="clever_anthony"]I guessed this was similar to Adapter[/quote]Based on what facts did you make such guess? It's mentioned in ToolSettingsHost class documentation that it inherits...
View ArticleRE: [CONNECT SDK] .NET Framework version
TargetFrameworkVersion[quote user="clever_anthony"]In the .csproj file[/quote]It's kind of you to respond, but I'm not sure what question you are answering.One problem is that Viz Studio sometimes...
View ArticleRE: [V8i C# MDL] mdlView_setClipBoundaryElement -168 MDLERR_NOCLIPVOLUME - Help!
Thanks Jan. You are probably right! and thanks for the article it's very helpful.
View ArticleRE: [CONNECT SDK] .NET Framework version
Hi JonTry this:Open folder containing project files with windows explorerFind file with csproj extension csprojOpen this file using NotepadFind in file this text "$(MS)mdlapps\" and delete it. You'll...
View Article