Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing AutoCad blocks

Status
Not open for further replies.

SimonRud

Petroleum
Nov 3, 2014
4
I have a database of AutoCad blocks (solid model piping flanges). Can I import one into microStation as needed and insert it at a required location or would I have to convert the database into cells first?

I hope to do this using a script file, first routing the ACS and then inserting a block before rotating back.

Many thanks.
 
Replies continue below

Recommended for you

SimonRud, go to the MicroStation pull down menu and select Element > Cells.
From the Cell Library dialog box drop down menu select File > Attach.
From the Attach Cell Library dialog box change the Files of Type to Autodesk DWG Files.

Then you will be able to Insert the ACAD blocks into a MicroStation design file.

Let me know if that works and we can work on a script file for it.

Cheers,
Bob Mecham

Training | Consulting | Programming
Facebook: Twitter: Youtube:
 
That works great Bob.

Any help with the script would be great.

What I do in AutoCAD is

Turn off the osnap
Set the UCS to world
Move the UCS to the insertion point (ie set it to 0,0,0
Rotate the UCS about X, Y and Z axis such that the inserted block is pointing in the right direction (x,y & z values provided)
Insert the block
set the UCS back to world

I'm working through some MicroStation tutorials at present but am not sure how to undertake operations in the top view when scripting and for insertions to be relative to the ACS and not world.

Any help would be most welcome.

SimonRud
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor