Photoshop :: Convert Layer To (16-32bit) Not Active Document?
Sep 27, 2013Is there a script to convert a layer or layer group to a 32-bit image rather then the entire active document at present that is the only option in Ps 5.x.
View 4 RepliesIs there a script to convert a layer or layer group to a 32-bit image rather then the entire active document at present that is the only option in Ps 5.x.
View 4 RepliesIs there event for change current (active) layer of document?
(it's not Database.ObjectModified - it's not raised).
I tried to do it with binding as:
public void Initialize()
{
var layerList = Application.UIBindings.Collections.Layers;
layerList.PropertyChanged += new PropertyChangedEventHandler(LayerList_PropertyChanged);
And -= in Terminate, but... Autocad 2012 chashed _sometimes_!!!
Impossible to understand when it happened. So I reject this way. Is there other way to handle this event?
I would like to make the active layer name the same as the document name. I know very little about scripting. I found this script:
var idoc = app.activeDocument;var ilayer = idoc.activeLayer;var filename = idoc.name;ilayer.name = filename;
It does almost what I need it to do. except that it also copies the ".ai" in to the layer name. Is there some way to modify this script to have it exclude or delete the file extension?
When working qith wacom tablet on a 32bit mode photoshop document and setting brush>transfer>flow jitter>pen pressure I get a very strange line: Filled with pulses/dots/spots/ in even distances, is if the brush was pulsing as it progressed. It does not happen if I work on a 16 bit document, but I cant work on 16 bit because in 16 bit the screen shows color banding in my gradients (I work with delicate gradients a lot, and I believe 16 bits doesn't handle them quite well)
My specs core i7 2.6ghz + 18GB RAM + ATI HD4800 1024MB running win7 64bit on 120GB SSD read/write speed ~500Mb/s/ planty of pagefile and photoshop is set with ample scratch disk and to utilize 100% resources.
Have been working on a little something and would like to know what units the user is using in their document. Basically what is selected here:
The thing is, no matter what is there (and while all other menus and such use the units) Active Document.unit stubbornly returns inches. Is there a way to get the proper ones using VBA?
How can I stop changing active document? I was thinking I could use this, but I don't know how to cancel it in the event handler:
AcadApp.DocumentManager.DocumentToBeActivated += new DocumentCollectionEventHandler(DocumentManager_DocumentToBeActivated);static void DocumentManager_DocumentToBeActivated(object sender, DocumentCollectionEventArgs e){ // Messagebox to ask if user are sure bool AreYouSureYouWantToChangeActiveFile = MessageBox.... if(!AreYouSureYouWantToChangeActiveFile) //cancel change active file somehow...???}
I would like to turn off all the existing layers in active document. I have found in developer's guide how to turn off one layer with specified layer name but can not apply it on all layers with any layername.
I tried to get all the Object ID's in layer table and then for each object turn layer off but seems that it does not work.
<CommandMethod("FilterLayers")> _Public Sub FilterLayers()'' Get the current document and databaseDim acDoc As Document = Application.DocumentManager.MdiActiveDocumentDim acCurDb As Database = acDoc.Database'' Start a transactionUsing acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()'' Open the Layer table for readDim LayerTable As LayerTable = acTrans.GetObject(acCurDb.LayerTableId, OpenMode.ForRead)Dim LayerTableRecord As LayerTableRecord = acTrans.GetObject(LayerTable.ObjectId, OpenMode.ForWrite)For Each ObjectId In LayerTableLayerTableRecord.IsOff = TrueNext'' Save the changes and dispose of the transactionacTrans.Commit()End UsingEnd Sub
I've only seen one thread that releates to this issue with no answer resolution. I have a reoccuring but where my layer comps display with elements moved into different positions from when I last saved the comp (all layer comps are set to save Visibility, Appaearance and Position).
This seems to always happen when I re-open a document, and frankly I'm getting sick of going back and fixing photoshop documents after I save all my comps to files. I can't imagine that this isn't a known issue or that others are not seeing the same thing.
I write plug-in for AutoCAD in C# and I have a question. How I can change dws-file in active document?
I know how it's doing in LISP, but not in C#.
I have an external drawing processor and one of the functions is to read the layers in an AutoCAd drawing and if the name matches freeze/thaw it. With modifications over the years I have had it working with 2002 through 2008. Now I'm getting errors. When I tru to use the Interop, I get "Call Rejected by Callee" errors, when I use the
ApplicationServices method to get the application and active document, I getI" Method 'GetEnumerator' in type 'Autodesk.AutoCAD.DatabaseServices.LayerTable' from assembly 'Acdbmgd, Version=18.2.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation." errors.
Basically for the interop method I use this
Imports Autodesk.AutoCAD.Interop Public Function GetAcadApp() As AcadApplication Dim progID As String = My.Settings.strAcadProgID Dim acApp As AcadApplication =
[Code]......
I'm trying to change the active document window size with vb.net. This seems like it should be straightforward, but I'm having some trouble. Below is some code that I tried to use which I found on the AutoCAD DevBlog.. I thought I understood how this works, but I can't seem to import the correct references to make it work.
Dim doc As Document = Application.DocumentManager.MdiActiveDocument()
Dim docWindow As Window = doc.Window
Dim size As Size = docWindow.Size
docWindow.WindowState = Window.State.Normal
docWindow.Size = New Size(500, 500)
Apparently, in the CS3 is impossible to do any scripting and using any actions. Can it be done using plugins sdk, without creating a new document? I tried using the functions SetPageSetup and SetCropBox but no effect
View 6 Replies View RelatedI'm trying to get the value of the Category iproperty of the model on the active drawing sheet. This is not a problem in a single sheet drawing, but I'm not sure how to specifically retrieve the Referenced Document of the Active Sheet in s multi sheet drawing.
Here's what I have:
Option Explicit
Public Sub PartsListFilter()
'set reference to the drawing document
'assumes that a drawing is active
Dim oDraw As DrawingDocument
Set oDraw = ThisApplication.ActiveDocument
[code]........
Is it possible to get the list of all the fonts and colors used in the active illustrator document (.ai file) ?
if yes then how?
We need a script that select all pattern objects in the active document in illustrator.
View 5 Replies View RelatedThere is no crash report. With Bridge CS5 everything works fine. (Opening RAWs with minibridge CS6 works file too.)
View 5 Replies View RelatedIs there a macro or lisp file that allows you to click on a element in the xref or active file and turn it off?
View 5 Replies View RelatedIn Photoshop CS6 why can't I unlock the background layer in a 32 bit image as you used to in CS5?
I only seam to find answers as "change it to 16 bit" but that's not a solution. In previous versions of Photoshop you were able to composite images in 32 bit.
I want to convert active dwg file to jpg file. How to do ?
View 4 Replies View RelatedHow do I get my text from my TextBox1 (add text) by pressing my CommandButton1 (okay) to my active page or document?
View 1 Replies View RelatedI feel really dumb right now but for some reason I'm having trouble deselecting. First off, I'm talking layers and vector objects here. I know Cmd D deselects selections. But how you do deselect any layer which might currently be active? I'm working in PS CS6 for the first real time and it's like I suddenly got dumb or something.
I know you can select a blank area of the Layers Panel to do it, but my Layers Panel is full right now, so I don't even see any dead space. This is especially troubling because I'm making a lot of shape layers and if I do that while a layer is selected then I wind up making masks.
If I am working on a layer, then select a new layer to work on, then paint on that layer, then undo: the brush stroke is undone, but also the previous layer I was working on re-becomes the active layer. I want it to stay on the new layer I selected. Is there an option for this?
View 1 Replies View RelatedUsing Photoshop CC, if you have a vector mask on a layer and attempt to crop the image, the vector mask shifts incorrectly after the crop is completed. The image is garbled. If I rasterize the vector mask to a standard layer mask, the crop works successfully.
I've checked to make sure that there are no numbers in the crop tool options. Nothing appears to be set incorrectly.
Is it possible to lock a layer within a document and password protect that specific layer?
View 3 Replies View RelatedNew user: I erased the background (BG) on the image I have so it is transparent. Saved as PNG. Now how do I put the new BG? I know I have to get the new BG on an active layer. Then, do I copy the FG (Foreground) image and paste somewhere. IOW how to merge the two? Must they be same size etc?
View 2 Replies View RelatedI accidently used photo shop to opened a .pdf file and now all of my .pdf file have to be imported to photo shop to open and I am not able to get all the pages. How am I able to correct this problem and use Adobe Acrobat to open the .pdf file?
View 1 Replies View RelatedWhen you try to rescale a layer using the Rescale Tool with a layer mask active, it scales of the mask, likewise if you select the layer it will scale the layer. Can I select both the layer and layer mask and scale the layer, thus it keeps the layer mask showing the desired masked area only. As the only way I can see currently is by applying the layer mask on the layer and then you can see the layer/s below to get the scaling that is desired. But I would like to keep the layer mask active for editing after scaling.
View 4 Replies View RelatedI have a layer I'm resizing and is currently in Transform.When I beging to drag the layer to position while it is in resize the center reference point will jump to my mouse causing me to move the reference point outside of the tranform layer. Normally I would have to click on the reference point and drag it intentionally or hold CTRL and click in the transformed layer to set a reference point, but it since CS6 is had still remainded in CC.
This happens when I transform the layer (Ctrl+T) and then grab the layer to move. I have to put the reference point back to center via mouse or by the reference point on the menu bar up top. Then I can go back and drag my later where I need it to finish my transform.
I'm trying to set the active Layer filter. I tried myDB.LayerFilters.Root.Name = "Filter1" but it wouldn't work.
View 9 Replies View RelatedDim editor As Editor = Application.DocumentManager.MdiActiveDocument.Editor
Dim db As Database = HostApplicationServices.WorkingDatabase
Dim tr As Transaction = db.TransactionManager.StartTransaction()
[Code].....
the only prob is : I want selec all block but not the block on layer frozen, off or not visible...
I can check all layer stat on each block.. (i do that already for check each block (name) but i want a solution more easy.)
There is a method for extruding ignoring the actual active layer, so the extrussion result is the same as 2D base object...(and is not created in active layer) i forgot how coul i do this, is really useful
After Googling a lot i didn't get any result