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
Page 1 of 1
Plotting
#2 Guest_Terry_*
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?
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_*
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
Terry
#7
Posted 16 June 2005 - 04:41 PM
Hi,
The latest AVAX version supports non printable layers.
LayerStatus(LayerIndex) = LayerStatus(LayerIndex) or 4
The latest AVAX version supports non printable layers.
LayerStatus(LayerIndex) = LayerStatus(LayerIndex) or 4
Athanasios Gardos
Avax-Software.com
Avax-Software.com
#9 Guest_Guest_*
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?
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
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).
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
Avax-Software.com
Page 1 of 1
Sign In
Register
Help
Add Reply
MultiQuote