[CONNECT C++] CONNECT equivalent callback for...
Is there a CONNECT equivalent ? I see some defined constants (e.g. INPUT_FOPENPREPROCESS_HANDLED), but that's it.
View ArticleRE: VBA multiline note text
[quote user="Darin Rodberg"]I'm not able to do that because the text will be different for each placement. The first project this script will be used in will be to label lat/long and point info on...
View ArticleRE: [Connect C#] View Contents or Fence Contents
Hi Olcay,to work with a view content and fence content are two quite different tasks. I don't know if some "new CONNECT Edition ways" exist, but in Update 4 you can use newly documented MstnPlatformNET...
View Article[Connect C#] View Contents or Fence Contents
Hi,I would like to get elements in Active Fence or in Current ViewPort. Can anybody help me how to do it?Regards,Olcay
View ArticleRE: [Connect C#] View Contents or Fence Contents
Dear Jan, Actually getting elements in fence is what I look for. As you've said I can create fence from active view. Problem is there is no "ActiveDesignFile.Fence.GetContents" in C# like in VBA. This...
View ArticleRE: [Connect C#] View Contents or Fence Contents
[quote user="Olcay EBCIN"]However I've not downloaded SDK4 yet. [/quote]It's not about SDK itself, it provides the documentation only. It's also about MicroStation itself. Do you have Update 4...
View ArticleRE: [Connect C#] View Contents or Fence Contents
[quote user="Olcay EBCIN"]I've not downloaded SDK4[/quote]Do so. You'll find there's an additional help manual MstnPlatformNet. You'll find a Fence type with familiar members such as...
View Article[CONNECT C++] Testing the value of an XAttributeHandlerId
I want to test the value of an XAttributeHandlerID to the constant DgnECProviderId_ECXAttributes (UInt16 type). Is there a better way than this?XAttributeCollection...
View ArticleRE: [Connect VBA, AddIns] Problem with GetElementByID64
[quote user="Nenad Poljcic"]CellElementID = 100componentElement1.ID=101componentElement2.ID=101[/quote]Are you sure? Within a DGN file, each element ID must be unique.
View ArticleRE: [Connect VBA, AddIns] Problem with GetElementByID64
Hi Nenad,[quote user="Nenad Poljcic"]Why is function GetElementByID64 returning CellElement and not componentElement with entered ID?[/quote]I have to admit I did not try such situation and did not...
View ArticleRE: [Connect VBA, AddIns] Problem with GetElementByID64
Hmm ... to be sure I did very quick tests both with V8i and CONNECT Edition and in my opinion the problem is not if original or the cell header is returned, but the same code behaves differently in the...
View ArticleRE: [Connect VBA, AddIns] Problem with GetElementByID64
Hi Jon,I wrote wrongIt is :CellElementID = 100componentElement1.ID=101componentElement2.ID=102Nenad
View ArticleRE: [Connect VBA, AddIns] Problem with GetElementByID64
Hi Jan,I have same resultsIn V8i the requested element inside cell is returned.In CONNECT Edition, cell header is returned.A problem is actually much bigger. Here is example:class DummyLocatorCellCopy...
View ArticleRE: [Connect VBA, AddIns] Problem with GetElementByID64
[quote user="Nenad Poljcic"]This is wrong.[/quote]Well, I agree it's not correct, but why in CONNECT Edition to use old obsolete Interop based ILocateCommandEvent class when there is (I think better)...
View Article[Connect VBA, AddIns] Problem with GetElementByID64
Hi,My sytem is windows 7, VS 2013 Connect update2Example:Lets say I have a CellElement with 2 componentElements.CellElementID = 100componentElement1.ID=101componentElement2.ID=102If I run this code...
View ArticleRE: [Connect CPP] Place label programmaticaly
Evan, We just wanted to let you know we have seen the issue you reported here and via service request. We will check to see if we need to publish additional information to access item type data in this...
View ArticleRE: [Connect CPP] Place label programmaticaly
Hi Bob, Please have a look at the small example posted on oct. 31. This example illustrates my problem: The definition of AnnotationCellHeaderHandler is missing in the header files. I hoped that it was...
View Article[Connect CPP] Place label programmaticaly
HiIn V8i we are using tags in some of our applications. In MicroStaton Connect we would like to use items instead. When you work with tags you can choose whether they should be visible or not. In CE...
View ArticleRE: [CONNECT C++] Need Help Understanding How To Use Types Ending In "PTR"...
Bruce,For each should be used to work on a collection of types. GetReachableElements(withOptions) can be used to populate a collection of ElementHandle types to be processed. MicroStationAPI.chm...
View ArticleRE: [CONNECT C++] Need Help Understanding How To Use Types Ending In "PTR"...
Use this: for (ElementHandleCR elem : activeModelP->GetReachableElements(pElementOptions.get()) 1. Doesn't make unnecessary copy of each ElementHandle within loop 2. Passes the raw...
View Article