Main Page | Report this Page
 
Computers Forum Index  »  Computer - CAD - Microstation (Programmers)  »  Reading Shape information macro...
Page 1 of 1    

Reading Shape information macro...

Author Message
...
Posted: Mon Apr 13, 2009 12:03 pm
Guest
If anyone can help me we this, I would appreciate it. My ultimate goal
in this is to automate a process that would place a string of text in
the border of a file that would then get replaced with the filename. I
do not want to use the pentable solution because I want the actual
filename to be hardcoded in the file. We have different border sizes
and scales and the drawings can also be placed at different positions
in the design file.
Our borders as a standard have a SHAPE (rectangle) around the
perimeter on a certain level and color. I thought I could read the
position of that shape and get the vertex info to calculate the
scale.
I have tried to look at examples such as SHOWPOINTS:
http://groups.google.com/group/comp.cad.microstation/browse_thread/thread/8bc76387731082c6/b2ed62b9bad0eb96?hl=en&ie=UTF-8&q=microstation+showpoints

and Get Coordinates of Elements:
http://communities.bentley.com/forums/thread/20432.aspx

and Retrieving Text Elements from a File ( I thought I could modify it
to find SHAPES)
http://groups.google.com/group/comp.cad.microstation.programmer/browse_thread/thread/265e6de895e20bce/fb1f1e025f052094?hl=en&ie=UTF-8&q=microstation+get_drawing_type

The ShowPoints macro gives me a “Cannot create thread object error:
Can’t find entry point”. The Get Coordinates macro gives me a
“Compilation failed at line 2. Unkown type” error. The Retrieving Text
macro fails on line 8. I am trying to figure this out myself, but
apparently am doing something very wrong because none of these macros
even work for me. I get the same errors in Microstation J and v8.
I am new to a lot of this so any help would greatly be appreciated.

michael.k….. at (no spam) worleyparsons.com
 
...
Posted: Mon Apr 27, 2009 7:11 pm
Guest
Did you get any help with this yet?
 
Thomas V...
Posted: Mon May 04, 2009 2:15 am
Guest
If you are using 8,9 or later, have you tried TEXT>FIELDS and place it in
the seed files.

--
regards /Thomas Voghera



<mantaka37 at (no spam) yahoo.com> wrote in message
news:1714d614-ae82-49f5-9682-52dade5d954d at (no spam) k38g2000yqh.googlegroups.com...
If anyone can help me we this, I would appreciate it. My ultimate goal
in this is to automate a process that would place a string of text in
the border of a file that would then get replaced with the filename. I
do not want to use the pentable solution because I want the actual
filename to be hardcoded in the file. We have different border sizes
and scales and the drawings can also be placed at different positions
in the design file.
Our borders as a standard have a SHAPE (rectangle) around the
perimeter on a certain level and color. I thought I could read the
position of that shape and get the vertex info to calculate the
scale.
I have tried to look at examples such as SHOWPOINTS:
http://groups.google.com/group/comp.cad.microstation/browse_thread/thread/8bc76387731082c6/b2ed62b9bad0eb96?hl=en&ie=UTF-8&q=microstation+showpoints

and Get Coordinates of Elements:
http://communities.bentley.com/forums/thread/20432.aspx

and Retrieving Text Elements from a File ( I thought I could modify it
to find SHAPES)
http://groups.google.com/group/comp.cad.microstation.programmer/browse_thread/thread/265e6de895e20bce/fb1f1e025f052094?hl=en&ie=UTF-8&q=microstation+get_drawing_type

The ShowPoints macro gives me a “Cannot create thread object error:
Can’t find entry point”. The Get Coordinates macro gives me a
“Compilation failed at line 2. Unkown type” error. The Retrieving Text
macro fails on line 8. I am trying to figure this out myself, but
apparently am doing something very wrong because none of these macros
even work for me. I get the same errors in Microstation J and v8.
I am new to a lot of this so any help would greatly be appreciated.

michael.k….. at (no spam) worleyparsons.com
 
 
Page 1 of 1    
All times are GMT
The time now is Sun Nov 22, 2009 1:38 am