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

Image may be NSFW.
Clik here to view.

[V8i vba] how to tell if your cursor is to the left or right of a point in a...

I have a iprimitive set up to place a text node and it has a call out box around it. I have coded it to check in the dynamcs event if the cursor is on the right side of left side of a point to figure...

View Article


RE: Is there an API for GUID-based Workflows?

[quote user="dominic SEAH"] GUID-based workflow[/quote]GUID is an acronym for Globally Unique Identifier.  A GUID is often, but not necessarily, a 128-bit number. That number may be displayed for human...

View Article


Is there an API for GUID-based Workflows?

Just wondering if anyone is using GUID-based workflows in their apps.This thread mentions something called 'Cross Diciplinary Coordination Services' xDCS, which is apparently and outgrowth of ISM,...

View Article

RE: [Connect up.4 NET.API] Modify/Delete cell subelement

Hi Jon,I tried your approach and it works.However, it seems to me that has to be a better way to do this.It look little bit unpractical, being forced to use Bentley.Interop.MicroStationDGN .Is there...

View Article

RE: [Connect up.4 NET.API] Modify/Delete cell subelement

[quote user="Nenad Poljcic"]It seems to me that has to be a better way to do this.  It look little bit unpractical, being forced to use Bentley.Interop.MicroStationDGN[/quote]If it works, then it can't...

View Article


RE: [Connect up.4 NET.API] Modify/Delete cell subelement

Hi Jon,You are right, it works and that is most important.But, I am trying to learn something new, in this case NET API and how to manipulate sub-elements.It is no problem to obtain ( example cell)...

View Article

RE: [Connect up.4 NET.API] Modify/Delete cell subelement

Hello Nenad, The only way I have found for doing this is to just remake the cell with only the sub elements you would like. then replace the original. Creating a cell element is a bit confusing, but I...

View Article

RE: [Connect up.4 NET.API] Modify/Delete cell subelement

Also, you should be able to copy the sub element like so (I currently use this to copy sub elements from a cell that has not been plotted yet) : Element newElement; using (ElementCopyContext...

View Article


RE: [Connect up.4 NET.API] Modify/Delete cell subelement

[quote user="Maury"]Creating a cell element is a bit confusing[/quote]It's gradually becoming easier.  From DgnPlatformNet for Update 4 (this may be in earlier versions)...CellHeaderElement cell = new...

View Article


[CONNECT C++] IDgnECTypeAdapter::GetStandardValues

IDgnECTypeAdapter::GetStandardValues fills a StandardValuesCollection from the MstnPropertyFormatter schema.  Here's a fragment of XML...<StandardValues xmlns="EditorCustomAttributes.01.00">...

View Article

RE: [Connect up.4 NET.API] Modify/Delete cell subelement

Had a mind fart, I believe that has been there since the beta of Connect. Creating a cell from a list of elements is pretty simple. The confusing areas are when dealing with the cell library. :-)

View Article

RE: [Connect up.4 NET.API] Modify/Delete cell subelement

[quote user="Maury"]The confusing areas are when dealing with the cell library[/quote]We now have MstnPlatformNet.CreateCellElement2 and MstnPlatformNet.CreateCellElement3.  They strongly resemble the...

View Article

Image may be NSFW.
Clik here to view.

RE: [Connect up.4 NET.API] Modify/Delete cell subelement

[quote user="Jon Summers"]but now you don't need the InterOp.[/quote]Don't want to steal the discussio, but this is not correct. The mentioned CreateCellElement methods still come from Interop in the...

View Article


[Connect up.4 NET.API] Modify/Delete cell subelement

Hi,I would like to delete/modify cell subelement.This is my code so far. CellHeaderElement cell = (CellHeaderElement)element.ParentElement; CellQuery oCellQuery = cell.AsCellQuery(); bool res1 =...

View Article

Image may be NSFW.
Clik here to view.

RE: [Connect C++] Porting saved named view creation code

Code Syntax HighlightingWhen you post code, use the Forum advanced editor's syntax highlighting tool. That's the icon that resembles a pencil:    It makes it much easier for everyone to read.

View Article


RE: [Connect C++] Porting saved named view creation code

Reference File[quote user="Kari Heinola"]iStatus = mdlRefFile_attachByView(&modelRefP, filepath, viewInstName,    viewInstName, viewName,    scale, &center_point,...

View Article

[Connect C++] Porting saved named view creation code

How should I go on with porting old saved named view creation code to Connect?The code does not modify current view, instead the saved view is used when the current file is attached to drafting file...

View Article


RE: [Connect C++] How to check if level code is valid in level library?

[quote user="Kari Heinola"]mdlLevel_isValidByCode(LEVEL_LIBRARY_MODELREF, value)[/quote]I believe that, in V8i, LEVEL_LIBRARY_MODELREF is a macro defined to be mdlLevelLibrary_getModelRef().  That...

View Article

RE: [Connect C++] How to check if level code is valid in level library?

mdlLevel_getLibraryRef seemed to work in my limited test when used like if (SUCCESS == mdlLevel_getLibraryRef(levelLibraryRefOut,mdlModelRef_getActive(),value))

View Article

[Connect C++] How to check if level code is valid in level library?

I have old code like below to check if level code is valid before using it. As LEVEL_LIBRARY_MODELREF is goner, how should this be handled with Connect? if (mdlLevel_isValidByCode(ACTIVEMODEL, value)...

View Article
Browsing all 7260 articles
Browse latest View live


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