Message 1 of 5
Changing TARGET Variable by code
Not applicable
03-04-2009
03:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We are using a plotroutine in VBA wich works fine. However, sometimes the plotwindows gets moved around and it has taken me quite some time to figure out what is causing the problem. I found out it has something to do with the TARGET Variable. When making a good plot the TARGET coordinates are 0,0,0 but when the plot gets moved is had coordinates like 179935,69574,0. The problem is that this variable is a READ only.
Does anyone know how I could change the TARGET variable in VBA code so I can fix this in the routine? There has to be some way because the drawing started out with 0,0,0 coordinates, so something changed these values. Any help would be greatly appreciated.
Does anyone know how I could change the TARGET variable in VBA code so I can fix this in the routine? There has to be some way because the drawing started out with 0,0,0 coordinates, so something changed these values. Any help would be greatly appreciated.