AVAX-software.com Forums: Move the map to a desired point - AVAX-software.com Forums

Jump to content

Page 1 of 1

Move the map to a desired point

#1 User is offline   hamipers Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 06-May 05
  • Location:Ker
  • Interests:ASP.NET<br />C#.NET<br />MS SQL Server 2000<br />Delphi<br />.<br />.<br />.<br />Painting<br />Sculpture<br />Music<br />Thinking

Posted 23 May 2005 - 07:55 AM

Hi,

I wanna give the end user the ability to move the map to his desired point on the map. I also want him to specify a zoom status before moving to that point so that he can see the point easily. Also I would like to know if you use a same coordinate that autocad uses or you map the dwg files coordinates to your own one.
thank you

#2 User is offline   Athanasios Gardos Icon

  • Administrator
  • Icon
  • Group: Admin
  • Posts: 333
  • Joined: 21-March 05
  • Gender:Male

Posted 24 May 2005 - 07:16 AM

Hi,

Use "GetProperties" to find the geometrical data of an object and then "SetBoundsZoom" to go to the specific zoom

About the CAD coordinates they are the same If you import the drawing at position (0,0,0).
e.g. Call cAvax1.Add_DXF(sDxfFile, sDXFLayers, x, y, z)
When x=0, y=0 and z=0.
Athanasios Gardos
Avax-Software.com

#3 User is offline   hamipers Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 06-May 05
  • Location:Ker
  • Interests:ASP.NET<br />C#.NET<br />MS SQL Server 2000<br />Delphi<br />.<br />.<br />.<br />Painting<br />Sculpture<br />Music<br />Thinking

Posted 25 May 2005 - 08:21 AM

Thanks a lot

#4 User is offline   hamipers Icon

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 50
  • Joined: 06-May 05
  • Location:Ker
  • Interests:ASP.NET<br />C#.NET<br />MS SQL Server 2000<br />Delphi<br />.<br />.<br />.<br />Painting<br />Sculpture<br />Music<br />Thinking

Posted 02 June 2005 - 05:42 AM

Hi,

I would like to know how I can use GetProperties method to retrieve coordinates of an object (a text in my case).

#5 User is offline   Athanasios Gardos Icon

  • Administrator
  • Icon
  • Group: Admin
  • Posts: 333
  • Joined: 21-March 05
  • Gender:Male

Posted 02 June 2005 - 08:17 AM

Hi,

You can use: cavax1.GetTextGeometry function.
Athanasios Gardos
Avax-Software.com

Page 1 of 1


Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users