AVAX-software.com Forums: Plotting - AVAX-software.com Forums

Jump to content

Page 1 of 1

Plotting

#1 Guest_Terry_*

  • Group: Guests

Posted 13 June 2005 - 02:19 PM

Is is possible to have "no plot" layers. This would involve having layers visible on the graphics screen but marked as not plottable. When the user prints the screen image, the layers marked as "no plot" are not sent to the print device.

Thanks,

Terry

#2 Guest_Terry_*

  • Group: Guests

Posted 13 June 2005 - 02:30 PM

The only way to get around this without a special layer property setting in Avax is the following:

When a layer is created, add a "NO PLOT or "PLOT" setting to the layer's vItemProperties.

Prior to printing, loop through all the layers and save the current ON/OFF state to an array.

Check the layers vItemProperties and if "NO PLOT" is detected for this layer, turn it off otherwise leave it on.

Print the screen.

Loop through the layer state array and restore the layers back to the original settings.

Is there an easier way?

#3 Guest_Terry_*

  • Group: Guests

Posted 13 June 2005 - 02:43 PM

I guess this question is in the same category. Is it possible to have a layer marked as "not selectable" as well? If the user selected objects and the layer was marked as "not selectable", then they would be ignored and not added to the selection set.

Terry

#4 Guest_Terry_*

  • Group: Guests

Posted 13 June 2005 - 03:10 PM

The LockEdit property locks editing for the entire. Can this be expanded to only lock certain layers so they cannot be altered or selected?

#5 User is offline   Athanasios Gardos Icon

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

Posted 13 June 2005 - 08:09 PM

Hi,

You can lock layers. Please have a look at: Topic 4

If I add a new feature to set a layer as non printable, is that good enough for your application?
Athanasios Gardos
Avax-Software.com

#6 Guest_Guest_*

  • Group: Guests

Posted 14 June 2005 - 05:02 PM

That would be great!

#7 User is offline   Athanasios Gardos Icon

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

Posted 16 June 2005 - 04:41 PM

Hi,

The latest AVAX version supports non printable layers.

LayerStatus(LayerIndex) = LayerStatus(LayerIndex) or 4
Athanasios Gardos
Avax-Software.com

#8 Guest_Terry_*

  • Group: Guests

Post icon  Posted 17 June 2005 - 03:18 PM

Do you have an example of how this feature works?

Thanks

#9 Guest_Guest_*

  • Group: Guests

Post icon  Posted 17 June 2005 - 03:43 PM

I am guessing:

iLayerStatus(0) = 1 'Hide Layer 0
iLayerStatus(0) = 2 'Lock Layer 0
iLayerStatus(0) = 3 'Hide and Lock Layer 0 / (3=1 Or 2)
iLayerStatus(0) = 4 'Do Not Plot Layer

So my questions is:

IF this statement is true:

iLayerStatus(0) = 3 = Hide and lock layer

DOES this mean:

iLayerStatus(0) = 0 = Do not hide or lock, and plot layer?

iLayerStatus(0) = 5 = Hide and no plot?

iLayerStatus(0) = 6 = Lock and no plot?

iLayerStatus(0) = 7 = Hide, lock and no plot?

If these statements are true, am I missing any combinations? Does the NO PLOT status get processed during the print routine? i.e. If I can see the layers on the screen but they are marked as NO PLOT, when I print do they not show up?

#10 User is offline   Athanasios Gardos Icon

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

Posted 17 June 2005 - 05:53 PM

Hi,

You have guessed right. There is not another combination.

iLayerStatus(0) = 1 'Hide Layer 0
iLayerStatus(0) = 2 'Lock Layer 0
iLayerStatus(0) = 3 'Hide and Lock Layer 0 /(3=1 Or 2)
iLayerStatus(0) = 4 'Do Not Plot Layer 0
iLayerStatus(0) = 5 'Do Not Plot and Hide Layer 0 /(5=4 or 1)
iLayerStatus(0) = 6 'Do Not Plot and Lock Layer 0 /(6=4 or 2)
iLayerStatus(0) = 7 'Do Not Plot and Hide and Lock Layer 0 /(7=4 or 2 or 1)

When a layer is hidden then AVAX does not plot this layer too.
A non printable layer can be visible (not hidden).
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