What instance of microstation does opendesignfileforprogram use
I am using OpenDesignFileForProgram and I am curious where it picks which Bentley Program to use to open the design file. I have V8i (SS4), CONNECT and AECOsim loaded and this always calls AECOsim. My...
View Article[CONNECT SDK] Resource Compiler wacky failure
I want a ToggleButton resource that controls a flag to let the user turn on/off a fence. I gave the ToggleButton resource an ID, which I consider to be uncontroversial: TOGGLEBUTTONID_UseFence. The...
View Article[CONNECT C#] Is there a way to close MicroStation from within an addin?
Is there a way to close MicroStation from within an addin? (Besides just finding all the running process an killing them all?)
View ArticleHow to change the element class of text by batch processing or macro?
Hi,I try to change a couple of texts an data fields by batch processing and if possible also change the element class for these texts from construction to primary.If it could be important to know, the...
View Article[CONNECT C++] Hatching an element of a cell
I've read a cell into an EditElementHandle and I want to pattern a component of the cell (an ellipse). I use a ChildEditElemIter to locate the ellipse to hatch. The hatch does not show up (I have fill...
View Article[CONNECT C++] Hatching a newly created shape element
In my _OnDynamicFrame() method I create a shape element (ShapeHandler::CreateShapeElement()) and then I use IAreaFillPropertiesEdit to AddPattern(). When that EditElementHandle is drawn...
View Article[CONNECT C++] General Questions About Hatching Implementation
How is hatching implemented? In a cell library I have created a simple cell and hatched an ellipse. When I try to analyze the contents of the model, I see nothing via Element Information or Analyze...
View Article[Connect U9 C#] CentroidNormalArea returning area scaled by 2xUorPerMaster
CurveVector.CentroidNormalArea seems to be returning 2xUorPerMasterSee code below..I Created 10x10 square.With 1 call to FromUor() I get "304800.0000"With 2 calls, I get the expected "100.0"I also...
View ArticleIs the there a way of getting a list of reference files that are attached to...
I would like to retrieve all reference files from a PID file. Using command prompt -wref open microstation text window, from there it is not possible to read the output from Java desktop application....
View Article[VBA PowerInroads SS4] how to detect no active font
Hi All,I am probably not using the correct terminology when saying "active font," so let me describe what's happening. Last year they gave me a new computer and so I got upgraded from Microstation SS2...
View ArticleUsing or retrieving information from existing Script Files
My example is this: Sub A01set()' 060618 - Set Level 1 with all selections 1, Testing' Send a keyin that can be a command string' CHANGE BELOW STATMENT TO COMMENT, was opening the key-in command'...
View Article[Connect C++] IElementGraphicsProcessor & Text color
I used IElementGraphicsProcessor to do text tessellation, one issue I find given above example, the tessellated text facet color seems confusing and the text's color can't be get:in details for each...
View Article[Connect API] Missing headers/declarations in SDK
Hi,https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/130099/connect-api-missing-headers-declarations-in-sdkDoes Bentley intend to fix this...
View Articledelete Drawn Line Element
Dear Guyshow can i delete Drawn Line Element with c#thanks a lot
View Article[CONNECT OpenPlant Modeler SDK Examples] pGetter.GetPropertyValue("LENGTH")...
In NoteExample of the OpenPlant Modeler SDK examples, pGetter.GetPropertyValue("LENGTH") is returning null. Please see image of debug and exception that follows. This is consistent behavior for all...
View ArticleDetaching references while leaving specific references
Hi,I'm considering ways to streamline an internal process using Microstation V8i SS4. During the process, we are required to remove all attached drawing references, except specific border ones we're...
View ArticleVBA Microstation Connect object model
Can any one point me in the direction of the documentation for the Microstation VBA object model for Connect edition?
View Articleadd text to a point
Dear Guysi am using MicroStation V8i 2008 Edition and my code is MicroStatio addin .i wanna add text to PointElement position with c# , what should i do?thanks a lot
View Article[CONNECT C++] FenceParams::Create and ::Delete
Why, in a C++ API, do we have static methods FenceParams::Create and FenceParams::Delete to manage memory allocation and de-allocation of abstract class FenceParams? Why doesn't FenceParams derive...
View ArticleRotation and transformation matrix
Hi,I'm struggling with placing a cell along an arc in VBA.I have a Complex Chain where I will place a cell along the whol chain with a fixed distance.I have solved the rotation on the "Line" part of...
View Article