RE: [CONNECT C++] DRange3D initialisation
That code is doing what you want...but it could be done more simply by just calling:range.InitFrom(pt1, pt2);
View Article[CONNECT C++] ECQuery::CreateQuery()
I want to "query" for ANY EC data on an existing element that belongs to a specific schema. I see where one can find ALL ECClass'es on an element by:...
View ArticleRE: [CONNECT C++] ECQuery::CreateQuery()
You would need to add all of the domain classes from the schema to your query. See ECQuery::AddSearchClass().
View ArticleRE: Abstract Vertices Coordinates
Hi John,because in my previous post I wrote that the code is written in a wrong style, I rewrote it to what I think is better code.I am not sure if I maintain the same functionality, but I guess I am...
View ArticleRE: [CONNECT C++] DisplayRulePtrVector - how to use example needed
The function you're calling is non-const. Call the following const version instead. DisplayRulePtrVector const& displayRules = displayRuleSetCP->GetDisplayRulesC(); Please don't modify the...
View ArticleRE: [CONNECT C++] DisplayRulePtrVector - how to use example needed
[quote user="Bruce Reeves SRNS"]DisplayRulePtrVector displayRuleP = displayRuleSetCP->GetDisplayRules();I don't know how to define "displayRuleP" from the DisplayRulesSetCP...
View Article[CONNECT C++] DisplayRulePtrVector - how to use example needed
I'm working with Display Rules and have come upon a notation that I do not understand and cannot get to compile: DisplayRuleSetCPVector fileDisplayRules =...
View ArticleRE: Fence selection query
Hi Michael,unfortunately your question is very incomplete to be answered. Please read MicroStation Programming forum best practices and share missing information, at leastWhat MicroStation version...
View ArticleFence selection query
Hello, I have a query on how to exclude a region within a fence area when coming to calculate from a mesh model.Please see below picture, red region is the box I want to fence, but blue region which I...
View ArticleRE: [CONNECT .NET] How to select/hilite an element in .NET
Hi, I'm looking for SelectionSetManager too! Which assembly or dll did You find it in ? Regards, Marco
View Article[CONNECT .NET] How to select/hilite an element in .NET
I can programmatically have a user select an element in a design file, how do I make that element appear selected/hilited?I'm using the HitPath.GetCursorElement method which works to locate the...
View ArticleRE: [CONNECT C++] How to get a ColorOverrideAction
ColorOverrideAction* colorAction = dynamic_cast<ColorOverrideAction*>(thisActionPtr.get());
View Article[CONNECT C++] How to get a ColorOverrideAction
In working with Display Rules, and drilling down through a existing Display Rule that I've created in a model. I get the vector of DisplayRuleActions, and iterate through it, I can determine the...
View Article[CONNECT C++] Are there any callbacks for Display Rules?
Are there any "callbacks" available for Display Rule modifications? Specifically, this is what I'm hoping to be able to do. I have defined a number of Item Types for my model. My tools will attach...
View ArticleRE: Units not correct in Microstation plug-in
Everyone, Thanks to all who replied on this topic. I fixed the problem by dividing all my numbers by 39.37 as I didn't want to change any internal scale settings that promis.e may be using. Oddly...
View ArticleUnits not correct in Microstation plug-in
Hey Everyone,I'm developing a plug-in for Microstation that inserts several text elements in the Active Model. It seems that everything I insert, the units (such as Point3dOrigin(71,44,0))end up being...
View ArticleRE: [CONNECT C++] DependencyManagerLinkage::IRootsChangedCallback
Hi Jon,YongAn Fu posted a dependency code sample showing how to delete child elements when a parent is deleted in this post:[CE C ++] dependent element (Element Dependency)TIP: Try using Chrome and...
View ArticleRE: [CONNECT C++] DependencyManagerLinkage::IRootsChangedCallback
[quote user="Robert Hook"]YongAn Fu posted a dependency code sample[/quote]Excellent! Yongan is the bees knees.However, I find this odd...struct MyChangedCallback :...
View Article[CONNECT C++] DependencyManagerLinkage::IRootsChangedCallback
I'm uncertain how to use this struct. It contains two pure virtual methods, so I should do something like this...struct MyDependencyCallback :...
View ArticleRE: Tag Definition variable not updating
Try Save Settings after modifying your Tag Sets.
View Article