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

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 Article


RE: [CONNECT C++] ECQuery::CreateQuery()

You would need to add all of the domain classes from the schema to your query. See ECQuery::AddSearchClass().

View Article

RE: 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 Article

RE: [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 Article


RE: [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

Image may be NSFW.
Clik here to view.

[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 Article

RE: 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 Article


Image may be NSFW.
Clik here to view.

Fence 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 Article


RE: [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 Article

RE: [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 Article

RE: 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 Article


Units 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 Article

RE: [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 Article


RE: [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 Article

RE: Tag Definition variable not updating

Try Save Settings after modifying your Tag Sets.

View Article
Browsing all 7260 articles
Browse latest View live


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