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

[CONNECT C# Addin] Detect key press inside Dynamic input

Is there a way to listen for key presses while inside dynamic input loop in a .NET addin? I'm listening

View Article


RE: [CONNECT VBA] Modify ComplexShape

Hi Maxim, I am not quite sure what your code should do and why it's written and structured in this way (in my opinion it should be refactored), but in the first step you should check if your data are...

View Article


RE: [V8i] [C# .NET] Using Undo function in IPrimitive Event

Thank you very much. I will try it.And here are the useful keyin references linked for readers:1. IPrimitiveCommandEvents_Keyin2. Keyin-Event on IPrimitiveCommandEvents3. [CONNECT C# Addin] Detect key...

View Article

[V8i] [C# .NET] Using Undo function in IPrimitive Event

I would like to write a tool which is similar to place smart line which has endless points to click unless you click rest or close element. In place smart line tool, you can use Ctrl + Z and then...

View Article

RE: [CONNECT VBA] Modify ComplexShape

[quote user="Maxim Kulikov"]If myEnum.Current.IsComplexShapeElement Then Dim ee As ElementEnumerator Set ee = myEnum.Current.AsComplexShapeElement.GetSubElements While ee.MoveNext ... Loop...

View Article


Image may be NSFW.
Clik here to view.

[CONNECT VBA] Modify ComplexShape

Hi!I have a two functions for work with ComplexShape:Public Function ModifyElements(PCo() As Point3d, PTm() As Double) As Long Dim myScan As New ElementScanCriteria Dim myEnum As ElementEnumerator...

View Article

RE: [CONNECT VBA] Modify ComplexShape

I have tried to rewrite the parent element, but as a result I'm getting old element.I had another variant: to create a new ComplexShape: While components.MoveNext Modify = Modify +...

View Article

RE: [CONNECT VBA] Modify ComplexShape

[quote user="Maxim Kulikov"]I had another variant: to create a new ComplexShape[/quote]Good approach: it simplifies the Edit|Undo command.[quote user="Maxim Kulikov"]CreateComplexShapeElement1is not...

View Article


RE: [CONNECT VBA] Modify ComplexShape

Hi Maxim,[quote user="Maxim Kulikov"]Now I just want to understand why is not working the way that works in Version 08.05.02.35.[/quote]The answer is "because it's another MicroStation", that...

View Article


RE: [CONNECT C# Addin] Detect key press inside Dynamic input

The SetKeyinFunction event is specific to Primitive command processing where mdlState_setFunction (when possible) should prefer to update to StateCallback events if available.   At this time...

View Article

RE: insert statement kills my opencursorWithID

Hi John,I have no answer for the discussed problem, but my guess some more information may be required:What MicroStation version do you use (build number)?Windows versionUse DB connection (ODBC, OLEDB,...

View Article

RE: insert statement kills my opencursorWithID

Thanks Jan for replying, my version of MicroStation is V8i, Version 08.11.09.459 Windows is Windows 7 oracle driver and oracle database. All our applications and files are using our Oracle DB,...

View Article

insert statement kills my opencursorWithID

Hello, I have a table with MSLINK data, I query my table by using mdlDB_openCursorWithID(CursorId, query) and loop through my data I use mdlDB_processSQL(insert statement) to insert rows into my table....

View Article


RE: [CONNECT C# Addin] Detect key press inside Dynamic input

Thanks for everyone's help, the developer I was helping is able to grab the low level system key events and is reacting to those to solve his problem. Was hoping for a little higher level solution than...

View Article

RE: [CONNECT C++] GeoCoordinates Usage

OK - made some progress...Bentley::DgnGCSP pModelGCS = NULL; pModelGCS = Bentley::GeoCoordinates::DgnGCS::FromModel (currentModel, TRUE); Now, however, I get linker errors. I've included both...

View Article


[CONNECT C++] GeoCoordinates Usage

Trying to determine how to convert this from V8i to CONNECT:MstnGCSP pModelGCS = NULL; pModelGCS = Bentley::GeoCoordinates::MstnGCS::FromModel(currentModel, TRUE); Bentley::GeoCoordinates::DgnGCS ????...

View Article

[CONNECT C++] Is UNICODE defined?

When building a C++ project we use the MicroStationAPI and also Windows API functions.  Many Windows functions that deal with character strings rely on the UNICODE macro definition to switch between...

View Article


[CONNECT C++] deffiles.h missing #include

I'm seeing this compile error......\sdk\include\mstn\mdlapi\deffiles.h error C2079: 'DefaultFileInfo::fileName' uses undefined struct 'Bentley::BeFileName'It's cured if I add #include...

View Article

RE: [CONNECT C++] Missing DgnGCS struct exports from lib files?

DgnGCS (DgnGeoCoord.h) extends BaseGCS (BaseGeoCoord.h) and using namespace Bentley::GeoCoordinates;. Could you confirm you are linking DgnPlatform.lib and provide the current list of libraries you are...

View Article

[CONNECT C++] Missing DgnGCS struct exports from lib files?

I'm trying to use some DgnGCS functions in my app. It compiles, but will not link. I'm not seeing the functions if I "dumpbin \exports" on any .lib file. Maybe they are not exported?Thanks,Bruce

View Article
Browsing all 7260 articles
Browse latest View live


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