RE: [CONNECT C++] Copy Item Type Library to a DGN file
It means that when you call Write() on the ITL, you want it to replace an ITL by the same name in the destination file (if such a one exists). You would use this if e.g., you are updating the version...
View Article[CONNECT C++] Copy Item Type Library to a DGN file
I want to copy an Item Type Library (ItemTypeLibrary class) from a DgnLib into the active DGN file.Having found the Item Type Library in a DgnLib, I think I want to use ItemTypeLibrary.CloneForFile...
View ArticleRE: Metadata
[quote user="Don Shepherd"]The Lawyers are asking us to give them the "metadata" for the project in question[/quote]If that's what the lawyers want, then ask them what they mean by 'metadata'. It's...
View ArticleRE: Metadata
Thanks guys, sorry yes CSI was Crime Scene Investigation (just a joke) We believe they are looking for dates, "they are trying to prove that we new of a situation before we new of the situation" Can...
View ArticleRE: Metadata
Probably the best you can do is extract a list of element ID numbers that were modified after a certain date. That would be a trivial thing that can be done with a simple vba program. Every entity...
View ArticleMetadata
This may be the wrong group but I figured you guys would know the answer.My office is involved in some litigation over an old project.The Lawyers are asking us to give them the "metadata" for the...
View ArticleRE: [V8i VBA] Vector3dPolarAngle Method - Result inverse of expected, why?
[quote user="Barry Lothian"]The value provided as viewed in locals window/debug.print is measured clockwise from the x-axis.[/quote]The number is negative. It's not really the inverse, just another...
View ArticleRE: [V8i VBA] Vector3dPolarAngle Method - Result inverse of expected, why?
[quote user="Jon Summers"]Unfortunately most people can't interpret a rotation matrix: I blame the government.[/quote]Yes, I certainly don't recall it being on my secondary school mathematics...
View Article[V8i VBA] Vector3dPolarAngle Method - Result inverse of expected, why?
Simple test case above, I have a vector and I am using Vector3dPolarAngle to access the existing rotation of the vector. My understanding is the angle returned is calculated counter-clockwise from the...
View ArticleRE: [V8i C++] Copy Text Style into TCB
Hi Bruce, Unfortunately, I do not see all the required C++ API functionality being present and public in MicroStation V8i SDK and you would need to use the C API to fill in the missing functionality....
View Article[V8i C++] Copy Text Style into TCB
In V8i, I use the following code snip to "copy" a Text Style into the "none" style, and then text placed has the settings from my text style, but does not have a linkage back to the style (Element...
View ArticleRE: [CONNECT C++] Assigning a GCS to a raster attachement
It does not seem to make a difference...
View Article[CONNECT C++] Getting a DgnTextStylePtr for StyleID=0
How does one get/set the "Style (none)" (i.e. StyleId 0 ) text style ? I've tried:DgnTextStylePtr noneStylePtr=DgnTextStyle::GetByID( 0, *ISessionMgr::GetMasterDgnFile() ); but that returns...
View ArticleRE: [CONNECT DItem_PushButtonXRsc] Trying to launch CONNECT "Place Note" tool
[quote user="Bruce Reeves SRNS"] HOOKITEMID_CheckForLevel, NOARG, 16973824, MCMD, Icon, ICONID_PlaceNote, "",[/quote]Your resource specifies MicroStation as the command owner (MCMD). However, your...
View Article[CONNECT DItem_PushButtonXRsc] Trying to launch CONNECT "Place Note" tool
In one of my V8i tools, I display a DialogBox that has a PushButtonXRsc item. That item is defined like this:DItem_PushButtonXRsc PUSHBUTTONID_Note= { NOT_DEFAULT_BUTTON, NOHELP, MHELP,...
View ArticleRE: [CONNECT DItem_PushButtonXRsc] Trying to launch CONNECT "Place Note" tool
Thanks for the suggestion. I tried it with out success. The dialog item was not able to load:{{1*XC, GENY(7.7), 0, GENY(3.8)}, PushButtonX, PUSHBUTTONID_Text, ON, 0, "", "owner=\"TEXTEDITOR\""}, Bruce
View ArticleRE: [V8i SS3 c#] Setting element line style not utilizing the default...
Thanks Artur, I will try it out when I get to the office next week.
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 ArticleRE: [CONNECT C++] Getting a DgnTextStylePtr for StyleID=0
Hi Bruce,from testing a workaround could be to retrieve the TextStyle NONE from active settings. e.g. if TextStyle NONE is active, this gets this textStyle: DgnFileR dgnfile =...
View ArticleRE: [CONNECT DItem_PushButtonXRsc] Trying to launch CONNECT "Place Note" tool
[quote user="Bruce Reeves SRNS"]{{1*XC, GENY(7.7), 0, GENY(3.8)}, PushButtonX, PUSHBUTTONID_Text, ON, 0, "", "owner=\"TEXTEDITOR\""},[/quote]That may be case-sensitive.
View Article