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

[CONNECT C++] TextBlock->Remove() to clear text

When extracting a TextBlock from a text element, If I dump out the UserOrigin before and after calling Remove(), I get different "y" values for the UserOrigin. Why would clearing text cause the origin...

View Article


RE: Run-time error ‘2147417856 (80010100)’

Hi Hector,[quote user="Wero"]This error happened when Microstation was controlled by Excel[/quote]It does not relate to the reported problem, but I recommend to study Connecting to MicroStation from a...

View Article


Image may be NSFW.
Clik here to view.

Run-time error ‘2147417856 (80010100)’

Hello Bentley community:I’m new to Microstation programming. I had a run-time error with Microstation: “Run-time error ‘2147417856 (80010100)’: Automation error System call failed”. This error happened...

View Article

RE: [CONNECT C++] Modifying Existing Text Parameters

Working a little more on this, I can now get the Annotation Scale (previously set to 2.0) of the model to apply to the text item:ITextPartIdPtr textPart; TextBlockPtr textBlock =...

View Article

[CONNECT C++] Modifying Existing Text Parameters

I need to modify existing text elements to apply Annotation Scale. So far my attempts fail. I am unable to even alter the size of a text element. For example:ITextPartIdPtr textPart; TextBlockPtr...

View Article


RE: Issue Attaching Raster image in Microstation MDL V.8.05-2004

Hi Mohammad,[quote user="Mohammad Aryafar"]but I'm not sure what I'm doing is correct or not.[/quote]Use existing knowledge base: Search discussions in this forum for mdlRaster and read found posts....

View Article

Issue Attaching Raster image in Microstation MDL V.8.05-2004

Hello,I;m trying to attach a raster image to a file but I'm not sure what I'm doing is correct or not. So, I started with basics and developing slowly.So, first I tried to attach the raster to active...

View Article

RE: Textelements as Datafields in Cells

[quote user="Calin Werlein"] every Datafield has one distinct ID-Number and one distinct field size[/quote]Not sure what you mean by ID-Number.  Can you post an example DGN file?[quote user="Calin...

View Article


Textelements as Datafields in Cells

Hello,I have a cell with Textelements as Datafields (DataEntryregion as place holder) .Under the raw data every Datafield has one distinct ID-Number and one distinct field size. I need to select the...

View Article


RE: [CONNECT C++] TextNodes and the use of ChildEditElemIter/ChildElemIter

Yes. (More correctly: the proper way is to ignore the implementation details of text/textnode elements and manipulate the TextBlock DOM directly).

View Article

[CONNECT C++] TextNodes and the use of ChildEditElemIter/ChildElemIter

In pre-CONNECT, one could utilize ChildElemIter and ChildEditElemIter to traverse the "components" of a text node. That does not seems to be supported any longer. Is the "proper" way now to grab the...

View Article

RE: Connect VBA GetTotalTextSize

Defect # 635470

View Article

Connect VBA GetTotalTextSize

Connect Edition Update 3 - Version 10.03.00.30The GetTotalTextSize method does not return the same value in Connect as it does in SS4. At first I thought that it was returning UOR's, but in Connect it...

View Article


[CONNECT C++] Making a Cell an Annotation Cell

In pre-CONNECT, there was an undocumented function one could use to take a non-annotation cell and make it an annotation cell:extern "C" DLLEXPORT StatusInt mdlCell_setIsAnnotation(MSElementDescrP...

View Article

Image may be NSFW.
Clik here to view.

RE: Textelements as Datafields in Cells

Hello Jon,here 2 Screenshots , it shows an example. I dont have very good knowledge about VBA.

View Article


RE: Issue Attaching Raster image in Microstation MDL V.8.05-2004

Jan,Thank you for your input on this.[quote user="Jan Slegr"]Use existing knowledge base[/quote]I have searched for topics related to rasters but they either working with active model or they don't...

View Article

RE: Issue Attaching Raster image in Microstation MDL V.8.05-2004

[quote user="Mohammad Aryafar"]If I use mdlWorkDgn_openFile to open an existing model, will this be my current active model? [/quote]No!  As the name of the function suggests, it creates a working DGN...

View Article


RE: Textelements as Datafields in Cells

I guess by ID you mean the Element ID of the text element?  It's quite likely that the Element ID will vary from file to file.What you are attempting is quite hard with enter-data fields.  The reason I...

View Article

RE: Issue Attaching Raster image in Microstation MDL V.8.05-2004

Hi Mohammad,[quote user="Mohammad Aryafar"]I have searched for topics related to rasters but they either working with active model[/quote]... which is the first sign that to work with rasters in work...

View Article

Image may be NSFW.
Clik here to view.

[CONNECT C++] Of Carets and TextBlocks

In attempting to iterate over the contents of a TextNode, I'm using the following for each TextBlock in the TextPartIdPtrVector:T_ITextPartIdPtrVector textPartIds;...

View Article
Browsing all 7260 articles
Browse latest View live


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