RE: How soften a linestring element ?
You need a line thinning, generalization, or smoothing algorithm. Perhaps the best known one is the Douglas–Peucker algorithm. More info can be gotten on wikipedia...
View ArticleRE: How soften a linestring element ?
One more thought just occurred to me. If you don't have access to Bentley Map, but have access to Bentley Descartes there is another way to do this without programming... Print your contour lines to a...
View ArticleRE: How soften a linestring element ?
TanQ, I have access to bentley map where I can find thining tools
View ArticleRE: How soften a linestring element ?
In Bentley Map select Tools > Geospatial > Topology Cleanup. In the Topology Cleanup toolbox the Thin Linear Element tool is the third from the left. You can draw a fence around all of your...
View ArticleHow soften a linestring element ?
Hi thereI have some contour lines which are as linestring elements but they have distortion and i want to remove this distortions and have soft linestrings. I have attached a picture of contours here....
View ArticleRE: [CONNECT C++] ustnTaskId link error
If you want to use an exported symbol, you will need to add an "import" (IMPORT_ATTRIBUTE) decoration to the function/data member for use within your project. Typically most public API functions and...
View ArticleRE: [CONNECT C++] ustnTaskId link error
Thanks, Bob!BENTLEYDLL_EXPORT extern WCharCP ustnTaskId;That enables the projects to link and build successfully. But why is the BENTLEYDLL_EXPORT decorator required in CONNECT when it was not...
View ArticleRE: How soften a linestring element ?
[quote user="txt"]I have access to Bentley Map where I can find thinning tools[/quote]You should post questions about Bentley Map to the Spatial Deskop Forum.
View ArticleRE: [CONNECT C++] ustnTaskId link error
My initial thoughts are each SDK release the compiler and linker options are modified (over time) to take advantage of being more type safe/strict, and performant. It may take a fair bit of digging to...
View Article[V8i VBA] Creating multiple text elements from 2D array
I'm working on a macro which consists of a userform which does the following:allows a user to browse and select a target XLSX fileopens the file a displays all worksheet names (not codenames) within a...
View ArticleRE: [V8i VBA] Creating multiple text elements from 2D array
[quote user="Barry Lothian"] I can place a single piece of text but its location appears to be offset and placed at the end of the loop[/quote]That's what you've told MicroStation to do. If we scrape...
View ArticleRE: [V8i VBA] RevolveProfile
[quote user="clever_anthony"]We created a closed vertical shape element[/quote]What is a 'vertical shape'? Can you provide a DGN file that illustrates your shape?Code Syntax Highlighting[quote...
View ArticleRE: [V8i VBA] RevolveProfile
[quote user="Jon Summers"]What is a 'vertical shape'? Can you provide a DGN file that illustrates your shape?[/quote]It is just a triangle shape vertical to Z axis. ACS shows where the Point (0,0,0) is.
View ArticleRE: [V8i VBA] RevolveProfile
Hi,[quote user="clever_anthony"]We created a closed vertical shape element[/quote]it seems the closed elements are not supported ... not only curves, but also shapes.With open element (e.g. line string...
View ArticleRE: [V8i VBA] RevolveProfile
Ar.....and then that will be a SmartSurface but not a SmartSolid......
View ArticleRE: [V8i VBA] RevolveProfile
[quote user="clever_anthony"]and then that will be a SmartSurface but not a SmartSolid[/quote]That's right note :-(Reading documentation, my guess is the input element has to be "sheet body" to create...
View ArticleRE: [V8i VBA] RevolveProfile
It required some reading and testing, but it seems it works :-)But be aware it's a proof of concept, not nice, polished and stable code...Option Explicit Declare Function mdlKISolid_elementToBody Lib...
View ArticleRE: [V8i VBA] RevolveProfile
One more note: Maybe "closeOpenProfiles" parameter in mdlKISolid_sweepBodyAxis is able to convert the shape automatically to the sheet body (so the whole code will be a bit simpler and shorter), but I...
View Article[V8i VBA] RevolveProfile
We created a closed vertical shape element, and would like to convert it to solid by revolution with 360 degrees about Z axis. However, it is not successful in VBA. Great if you could provide an...
View ArticleRE: [CONNECT C++] Strange processing when using...
I'm attempting to trap when a user wants to create a new .dgn file. As I have stated in other posts, the V8i call to mdlInput_setFunction() to catch FILEOPEN_PREPROCESS isn't available in CONNECT. So,...
View Article