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

[CONNECT C++] TextBlocks and text weight

How does one query/set the weight of text elements in a TextBlock. I see nothing in a Text Style definition that even stores the text weight...... I think I can use mdlElmdscr_setSymbology() to "set" a...

View Article


[CONNECT C++] How do I measure dimensional properties?

The MicroStationAPI provides CurveVector.CentroidNormalArea() and similar methods to obtain element metrics, such as area.Is there a way to obtain the same information using element geometric...

View Article


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

Thanks a lot Jan, this did what I wanted to do. Regards, Mohammad

View Article

RE: Attached raster gets removed after closing the design file.

Hi Mohammad,[quote user="Mohammad Aryafar"] Is there any other function that I need to call to be able to save the raster in the design file?[/quote]A quote from MDL API reference for...

View Article

[CONNECT] TextField API

[quote user="Robert Hook"][1 Oct 2012] Development's current indications are that the next Major Release of MicroStation likely will provide a TextField API with the ability to get/set/remove fields...

View Article


RE: Attached raster gets removed after closing the design file.

Hi Jan,[quote user="Jan Slegr"]It means you have to use mdlRaster_extendedInfoSet to attach the raster to active model.[/quote]I've added mdlRaster_extendedInfoSet but still see the same doesn't attach...

View Article

RE: Attached raster gets removed after closing the design file.

[quote user="Mohammad Aryafar"]mdlRaster_extendedInfoGet(&extendedInfo,rasterHandle); mdlRaster_extendedInfoSet(&extendedInfo,rasterHandle,EVENT_UPDATE);[/quote]Getting data and setting the...

View Article

Attached raster gets removed after closing the design file.

Hello,I'm using this code below to attach a raster image to my design file. Attachment is successful and I can see the raster image placed correctly. However, when I close the model and reopen it, it's...

View Article


RE: Attached raster gets removed after closing the design file.

Thank you Jon, what you suggested has resolved my issue and it attaches a reference to my design file. [quote user="Jon Summers"]Possibly the MDL Function Reference might help you.  Here's an...

View Article


RE: Attached raster gets removed after closing the design file.

[quote user="Mohammad Aryafar"]It seems my help file is different from yours[/quote]You haven't told us what version of MicroStation you are using.The help I cited is from the current version of...

View Article

RE: [V8i C++] Reading ElementID's from nested Reference Files

How do you read those attachment IDs?

View Article

RE: [V8i C++] Reading ElementID's from nested Reference Files

That information is saved in the App Settings for the current active model. I maintain an "in-memory" set of data during a session. When the model is closed, a callback writes that information to a...

View Article

RE: [V8i C++] Reading ElementID's from nested Reference Files

Hmm.... initial testing *seems* to indicate that a reference file's AttachmentID stays the same, if if the parent model itself becomes a reference file to another model. and the reference becomes...

View Article


[V8i C++] Reading ElementID's from nested Reference Files

If I have this situation: ACTIVEMODEL (MyDgn.dgn)+ -- Reference File A (attachment ID = 0x00001111 in MyDgn.dgn) Then that active file gets attached to a new model, so we have: ACTIVEMODEL...

View Article

RE: Changing Line Weight in Microstation 2004

[quote user="Mohammad Aryafar"]mdlLinkage_addThicknessToDescr does not return SUCCESS[/quote]That function adds thickness to a solid 3D element.  A line string is not particularly solid.[quote...

View Article


RE: Changing Line Weight in Microstation 2004

Thank you Jon,[quote user="Jon Summers"] mdlElement_setSymbology() does what you need[/quote]Yes this did what I wanted to do.Thanks again for the quick reply on this.Regards,Mohammad

View Article

Changing Line Weight in Microstation 2004

Hello,I'm want to change line thickness and I looked at these 2...

View Article


RE: Validate Raster Image Opened Successfully in Msicrostation 2004

mdlRaster_fileInfoGet(&rasterFileInfo,rasterHandle); if(rasterFileInfo.fileSize == 0){ printf("Could not find %s\n",rasterImage); }Hello,I tried to validate file size by adding these few lines and...

View Article

Image may be NSFW.
Clik here to view.

Validate Raster Image Opened Successfully in Msicrostation 2004

Hello,I have a function that handles attaching raster image to design file and it works fine when attaching the image. There is only one problem I have left to fix is that to identify if the image...

View Article

RE: [Connect add ins c#] ElementScanCriteria

HiI fixed this by making sure that all assemblies had "Embed Interop Types" to FALSE.cheersNenad

View Article
Browsing all 7260 articles
Browse latest View live


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