Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

RE: [V8i VBA] Dear all, I am new to MicroStation and VBA. I want to copy an element with a base point from one file to another. Is there any existing VBA program available for that? Thanks in advance for your reply.

$
0
0

Good screenshot!

Follow these steps.  Source means the file that contains elements to be copied.  Destination means the file where copies will be created...

  1. Open the destination file
  2. Attach the source file as a reference
  3. Place a fence as shown in your screenshot
  4. Use MicroStation's copy command, with use fence option, to copy the contents of the fence

No programming required!

VBA Help

If you want to achieve the same using VBA, then look at methods such as Fence.GetContents in VBA help.

Base Point vs. Reference Point

[quote user="Premkumar Dayakaran"]I want to copy an element with a base point from one file to another ...
I just wants to paste it in to another file with the same reference point[/quote]

You use the terms base point and reference point without explaining what you mean.  Are they the same thing?  Don't you simply want to copy elements from one file to another?  If so, then all coordinates are the same.  What is the significance of a base point or reference point?


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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