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

RE: [V8i C++] Setting the Text Style for a Dimension Style

pDimStyle->SetTextStyleProp(*textStylePtr, DIMSTYLE_PROP_Text_TextStyle_TEXTSTYLE);

View Article


RE: [V8i C++] Setting the Text Style for a Dimension Style

Have you looked at the DimensionStyle class?  It includesStatusInt SetTextStyleProp (DgnTextStyleCR valueIn, DimStyleProp iProp);Whether that helps is moot, for you still have to supply the correct...

View Article


[V8i C++] Setting the Text Style for a Dimension Style

I wish to programmatically set the TextStyle for a dimension. I obtain a DgnTextStylePtr for the text style, and use it to get the ID ( textStylePtr->GetID() ). With that, I want to set the Text...

View Article

RE: [CONNECT APIs] Documentation Improvement Requested

Jon, I will ensure the scope of your request includes these aspects. I will see if we can preceded/provide consistent Class/Struct names - in the topic/index entries. I am not sure what we can do on...

View Article

RE: [V8i C++] Setting the Text Style for a Dimension Style

This is for V8i. I don't see a DimensionStyle class...

View Article


RE: [V8i C++] Setting the Text Style for a Dimension Style

[quote user="Bruce Reeves SRNS"]This is for V8i[/quote]Oops!How about mdlDimStyle_setTextStyleProp()? #include <msdimstyle.fdf> int status = mdlDimStyle_setTextStyleProp (pTextStyle,...

View Article

[V8i SS3 c#] Setting element line style not utilizing the default linestyle...

I do not have too much experience with custom line styles so I apologize if I am missing something simple.I have a line style defined with a scale factor of 3.937 as you can see here:...

View Article

[CONNECT C++] #include

When I #include the above referenced file into my project, when I attempt to compile the code I get:1>c:\program files\bentley\microstationconnectsdk\include\rastercore\RasterExporter.h(160): error...

View Article


[CONNECT C++] RasterGCSUtility Class

Trying to use RasterGCSUtility::CreateFrom(UInt32, DgnModelRefP) and I'm getting a "unresolved reference" error. I am linking against RasterCore.lb, but when I dump out the exports from that .lib, I...

View Article


RE: [CONNECT C++] Assigning a GCS to a raster attachement

This is what I've come up with. The issue I have is that the raster doesn't actually "appear" until the cursor is updated by me moving the cursor off the view or I hit a "reset" (I'm doing the attach...

View Article

[CONNECT C++] Assigning a GCS to a raster attachement

I've got code that attaches a raster file. However, that raster has no GCS, and I wish to assign one. I can use DgnRasterPtr::SetDgnGCS( DgnGCSCP ) to "assign" the projection, and I *think* I need to...

View Article

RE: [Connect C#] DgnEcInstance.GetPropertyValue with Spaces

I am having a similar issue in V8i, string "G:\Eagle_P3_LaserScan\CRMF_East_Rails\TopoDOT_Images\FL_20160312(14)\00506.jpg" is getting modified to...

View Article

RE: [Connect C#] DgnEcInstance.GetPropertyValue with Spaces

Apparently I already asked this question last year and it was a TR that was submitted in 2009 Any ideas if this was fixed?communities.bentley.com/.../120217

View Article


[Connect C#] DgnEcInstance.GetPropertyValue with Spaces

I am not sure if this is intentional or not, but when creating and adding itemtype definitions, spaces seem to be automatically converted to "__x0020__" for the access string. This is fine, but when...

View Article

RE: [CONNECT] Delivering an Application

Is the MicroStation CONNECT default Workspace or Workset also stored in the Windows Registry?The nearest I can see from your screenshot is the ConfigurationPath registry key.  The new MicroStation...

View Article


[CONNECT] Delivering an Application

My application defines various resource data (toolbox, text styles, Item Types schema) in DGNLibs and in a configuration file.When installing an application to an existing installation of MicroStation...

View Article

RE: [CONNECT C++] How do you get an MSWindowP to the main CONNECT application...

C++ Wrapper for mdlNativeWindow_apiIn the absence of a MicroStationAPI NativeWindow class, you can write your own wrapper class to help in this situation. Put the initialiser in your class...

View Article


RE: [CONNECT C++] #include

Hi Bruce,this issue is reproducible and Defect # 696396 is filed to address this issue.As a workaround try to comment out the include of RasterExporter.h in RasterCoreApi.h, as this may not be...

View Article

RE: [CONNECT C++] RasterGCSUtility Class

Hi Bruce,this issue is reproducible and Defect # 696496 is filed to address this issue.Best regards,Artur

View Article

RE: Microstation v8i topo files not falling into place

[quote user="Felipe Mendoza"]I need help... [/quote]You've posted to the Programming Forum.  I don't see anything in your post about Programming.  I suggest that you re-post to the MicroStation Forum.

View Article
Browsing all 7260 articles
Browse latest View live


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