Bentley Communities
Site
Search
User
Site
Search
User
Welcome
Products
Support
About
More
Cancel
Unable to find what you are looking for?
Click here
[MSCE U17 C#] Delete attachment clipping
Krister Surell
Hi, I have a set of code that that clips references from a set of point. This works fine if the reference does not have an existing clipping boundary. How can I delete an existing clipping boundary no matter if it's definied by an element or by…
9 months ago
MicroStation Programming
MicroStation Programming Forum
[CONNECT .net C#] get range of the clip boundary of reference to use as SetRangeTest for ScanCriteria
John Drsek
Really struggling here. i want to find elements on specific levels. the elements are in nested references. and the reference has a clip boundary on it. i have a list of level names and i then use that list and find the LevelIDs to check against. in…
4 months ago
MicroStation Programming
MicroStation Programming Forum
RE: Vba for pointcloud clips
Oto
Can be achieved with action strings. Key-In: NULL;M,cfClip cube;M,PRChoose data point;/d;T,pointcloud clip box;dl=-1,0,1;dl=2,0,0;dl=0,-2,0;dl=0,0,-2;
over 1 year ago
MicroStation Programming
MicroStation Programming Forum
[MSV8i SS10 VBA] Set Clip Boundary by Points
Robert Golding
Is there a way to Set Clip Boundaries through VBA? I am trying to loop through my Raster Images to replace them with another image (which is another problem for another post!) then set the clip boundary based on 2 points. When looking at the options…
over 1 year ago
MicroStation Programming
MicroStation Programming Forum
RE: VBA macro to copy attachments, excluding clipped elements, into active model as a cell
Jon Summers
Brian Loughry said: Is it possible to exclude the clipped elements? A clipped element is just an element. It has no information about its origin or whether it was created by a clipping process.
over 1 year ago
MicroStation Programming
MicroStation Programming Forum
RE: Any way to extract data from Clip Volume Section Cut Graphics?
Jon Summers
Yongan.Fu said: There is Chinese version blog describes a way to do this. It uses ElementGraphicsOutput::Process Mark Shamoun said: Can this be done in C# as well? See ElementGraphicsProcessor in DgnPlatformNet help.
over 1 year ago
MicroStation Programming
MicroStation Programming Forum
[CONNECT , update 15 C++] Clip Volume from polygon
Andrey Shulyak
Hello everyone, DPoint3d point1 = DPoint3d::From(range.low.x, range.low.y, fitRangeMidPoint.z); DPoint3d point2 = DPoint3d::From(range.low.x, range.high.y, fitRangeMidPoint.z); DPoint3d point3 = DPoint3d::From(range.high.x, range.high.y, fitRangeMidPoint…
Answered
over 2 years ago
MicroStation Programming
MicroStation Programming Forum
VBA Clipping the references without creating border polygons
Mikha Zaslavskiy
/cfs-file/__key/communityserver-discussions-components-files/343173/AttachmClippingPolygon_5F00_edit.wmv MSTN-Connect Edition Update 14 VBA Dear all, i'am attaching a Attachments via Command [AddCoincident1(RefFile, vbNullString, nRef, "True Scale…
over 2 years ago
MicroStation Programming
MicroStation Programming Forum
[Microstation CE Update 13 C++/C#]How to get element in Clip Volume(Section Clip)
Leo Niu
Here is my situation. I create an Clip volume, and I tried to use IViewClipObject to get the range, but it seems that the API can only get the clip plane point, from which I can not compose the Range, because I can not get the direction of the flip…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
[CONNECT update 13-16 C++] Clip Volume with Rotate Matrix get an Error
Andrey Shulyak
Hello everyone, I'm trying to apply a volumetric section-box to a 3DView. Everything works as it should, as long as the Rotation Matrix is Identity. As soon as I set the rotation around the Z-axis, I get an error. This is the sample of the code…
over 2 years ago
MicroStation Programming
MicroStation Programming Forum
[MS Connect Up12 - VBA] how to get reference clip Boundary
Rémy Weill
Hello, I would like to get reference clip boundary in a MicroStation Connect VBA macro Many thanks for your help Rémy
over 2 years ago
MicroStation Programming
MicroStation Programming Forum
RE: [MSTN 10.14 C# Addin] Get visible elements in clipped reference view
Rémy Weill
Hello John, I cannot find attachement.getClipPoints() function in VBA for Microstation Connect R12 Do you have any solution to get reference clip Points in VBA ? (i.e.wrapping an mdl function) Many thanks Rémy
over 2 years ago
MicroStation Programming
MicroStation Programming Forum
add a reference that should be translated and clipped
Alessandro Trebbi
How exactly can i get the modelRef after begin attachment ? I'm trying with: modelRef = builder.GetDgnAttachmentCP()->GetDgnModelP(); but the reference is not translated nor clipped, so i suppose that's the problem (the only difference from v8i…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
[CONNECT SDK 10.08.00.88] - Reference Clip Boundary Design Coordinates
Benzi Papo
I'm using OpenRoads Designer SDK 10.08.00.88. I'm attempting to extract the clip boundary of a reference attachment. I want this clip boundary in the reference file's coordinate system. This is necessary in order to add a custom coordinate annotation…
Answered
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
RE: [MSCE C++] How to Set DgnAttachment's Clip Element?
Jan Šlegr
Hi, as usually, please follow the forum best practices ! Do you think when discussion API, conditions and context is the same for current CE Update 14 API and original CE version, released nearly 5 years ago? wanglin said: I have tried the DgnAttachment…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
How can be Clip Boundary of Attachments in MSTN CE via VBA deleted?
Mikha Zaslavskiy
Dear all, in previous Version of MSTN i've used undocumentated way for deleting of Clip Boundary of Attachments (see code below). How can i do it now more clear? Thank you. With Regards, Mikha Public Function DeleteClipPointsAtt(ByRef oAtt As…
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
RE: [V8i SS4, MDL] How do I get an element from the Clip Boundary?
Jon Summers
Mikha Zaslavskiy said: how can i do it in VBA by MSTN CE? Don't hijack a thread! Please post a new question about VBA.
over 3 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i VBA] Using REFERENCE CLIP BOUNDARY [logical name] from a Fence in a VBA - Results in a Clipping Shape Being Created
caddcop
If a user has a fence and uses the key-in REFERENCE CLIP BOUNDARY [logical name] the end result is a clipped reference file and the clipping limits are only visible if the user selects the reference file in the reference file dialog box and has one of…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
RE: [CONNECT VBA] Clip inside fence
Jon Summers
Paweł Szabłowski said: I got problem with line: "Set fenceElement = ActiveModelReference.Scan(oScanCriteria)" That should be Set oScanEnumerator = ActiveModelReference.Scan (oScanCriteria) Paweł Szabłowski said: I cannot load help content VBA…
over 4 years ago
MicroStation Programming
MicroStation Programming Forum
[V8i C#] Active depth between clip front/back
Nikolai Bo Madsen
I'm currently in the progress of trying to make an application, that handles clip columes and clip front/back, but i have a major problem when it comes to the active depth on the clip front/back view. I've set the active depth using the SetActiveDepthByPoint…
over 4 years ago
MicroStation Programming
MicroStation Programming Forum
RE: Microstation VBA help needed - Reference Origin & Clip Boundry
Jan Šlegr
Hi Mike, at first, please read and follow MicroStation Programming forum best practices . There are some rules and recommendations defined to ensure post will contain all necessary information, which leads to more efficient discussion: Provide information…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
[Connect C#] Clip Element
Martin Roling
Hello, in V8i I use this class in an Addin to Clip elements. public class ClipService { [DllImport("ustation.dll", EntryPoint = "mdlClip_element", CallingConvention = CallingConvention.Cdecl)] private static extern int mdlClip_element(ref int…
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
Is there a way to create/apply a clip volume in a view without using CadInputQueue.SendKeyin in VBA
davhum75
Working on a VBA based command that needs to define a clip volume from two points from within a class that implements IPrimitiveCommandEvents. CadInputQueue.SendKeyin terminates the execution of the command. The steps that I'm looking to perform in…
over 5 years ago
MicroStation Programming
MicroStation Programming Forum
Problem with clipping reference in VBA (microstation V8i)
darth666
I wrote a code in VBA for clipping reference, based on Jon Summers ' solution http://www.la-solutions.co.uk/content/V8/MVBA/MVBA-References.htm#ClipBoundary and adjusted it for my needs. Sometimes when I use it whole reference disappears. I noticed it…
over 6 years ago
MicroStation Programming
MicroStation Programming Forum
RE: Clip Boundary
HDR_Coder
https://communities.bentley.com/cfs-file/__key/communityserver-discussions-components-files/343173/basic.maHere is the final program I created that uses scanning and clipping. This program scans the file for a highlighted shape (must be a 4 point shape…
over 8 years ago
MicroStation Programming
MicroStation Programming Forum
>