RE: [CONNECT C++] .NET Framework build warning in C++ project
[quote user="Loren"]I have .NET 4.6.1 installed but still get error[/quote]You can install multiple versions of the .NET Framework. Try installing version 4.5.2 as well.
View Article[CONNECT C++] .NET Framework build warning in C++ project
After installation of CONNECT Update 4 SDK, I now see this warning when building a C++ project... Q:\Examples\CONNECT\MicroStationAPI\Dependency\BoxDependency\BoxDependency.mke : warning MSB3644: The...
View Article[CONNECT C++] DPoint3d::AlmostEqual()
There are several DPoint3d::AlmostEqual() functions. Help says: Uses library "small angle" as both absolute and relative tolerance. points are equal if squared distance between is less than (squared...
View ArticleRE: [CONNECT C++] Element Creation Functions and const-ness
Thanks for pointing me in the right direction. I used circle just as an example — what I happen to be working with is a shape. With your clue, I found this...#include <LinearHandlers.h> static...
View ArticleRE: [CONNECT C# Addin] Using ElementPropertiesSetter on Text Elements
ReplaceInModel on its self has always been kinda iffy for me. Try this: IntPtr elementRef = element.GetNativeElementRef(); // Do your PropertySetter here.. Element originalEle =...
View ArticleRE: [CONNECT C# Addin] Using ElementPropertiesSetter on Text Elements
Hi David, just my guess based on the method description: Is there any difference if you use element.ReplaceInModel(null)? Regards, Jan
View Article[CONNECT C++] Ribbon Customization
I have been attempting to create Ribbon Workflows with varied success. I would create workflows and add elements, only to have them become un-editable if I exited the file and tried to modify them at a...
View ArticleRE: [CONNECT C# Addin] Using ElementPropertiesSetter on Text Elements
Thanks Jan, passing null just added a new element.
View ArticleRE: [CONNECT C# Addin] Using ElementPropertiesSetter on Text Elements
Thanks Maury! That did the trick. Everything is working now, and thanks for the "using" tip. That's fixed now too.
View ArticleRE: [CONNECT C# Addin] Using ElementPropertiesSetter on Text Elements
Probably should wrap the Elements in Using tags as well or make sure to dispose of them when you are done. should have mentioned.
View ArticleRE: [CONNECT C# Addin] Using ElementPropertiesSetter on Text Elements
Hi David,[quote user="David Larson"]passing null just added a new element.[/quote]Hmm ... sound weird a bit to me, but probably have not enough information.From MSTNPlatformNET documentation (SDK...
View Article[CONNECT C# Addin] Using ElementPropertiesSetter on Text Elements
I have an application which sets element properties based on items selected in a dialog box. My code works fine on linear elements, but when applying the new properties with ElementPropertiesSetter to...
View ArticleRE: [CONNECT C++] .NET Framework build warning in C++ project
Is there a trick to installing 4.5.2 ? Windows installer refuses with the following errror:
View ArticleRE: [CONNECT C++] Element Creation Functions and const-ness
For any sort of open path or planar region (i.e. line, line string, point string, shape, arc, ellipse, bspline curve, complex shape, complex chain, grouped hole) I typically just create a CurveVector...
View Article[CONNECT C++] Element Creation Functions and const-ness
The mdlXxx_create functions take an element template as the second parameter. For example...mdlCircle_createBy3Pts (MSElementP out, MSElementP in, DPoint3dP pt, int fillMode)The purpose of that...
View ArticleRE: [CONNECT C++] Partial Delete on LineString is removing my user data linkage
I reported this problem in November and they filed defect # 627807. Extending lines/line strings to another element or intersection also strips linkages. It's been happening since update 1 and I was...
View ArticleRE: [CONNECT C++] .NET Framework build warning in C++ project
Hi Loren,I guess there is no trick, because I suppose no older NET Framework version can be installed if a newer is presented already. You can try to unistall existing one (I guess it's 4.6.x) or even...
View ArticleRE: How to get rotation around axis?
Well - I found a way how to achieve my goal ...My main issue was that I was not able to good sketch.Here's my way to find the rotation angle ...I have got the following details available:length blue...
View ArticleRE: [Connect C++] Query properties of a GroupedHole element
[quote user="EvanH"]I've spent some time on looking through the documentation but I didn't find a solution[/quote]I'm with you on that. Trying to write code while consulting the MicroStationAPI help...
View Article