How to remove imported layers to ultiboard layers General property

I imported several. DXF layers in a project some time ago and now they always appear in the default configuration of each new project. I tried in vain to deselect them and the value by default, but they always appear again. How can I remove them when there is no possibility to do so in the properties page?

Thanks, Tod

Hi Tod,

I think what happened is that you have imported DXF layered into a project, then saved the PCB properties as default values, who then saved DXF imported as default layers. To remove these layers, you must remove your config file, which is where the default settings are saved. This will also reset your user interface and all of the default settings, you have already stored.

Just follow the instructions here: http://digital.ni.com/public.nsf/allkb/2719D00E36A4D53A8625721300685B3F

I also created a defect (D116800) because it should be possible to remove these layers custom without resetting your configuration.

Tags: NI Software

Similar Questions

  • How to remove the layers 'recovered' Ultiboard design

    I designed a 4-layer Board and later, he had to change a number of prints of the parts.

    Before, I annotated the new data of Multisim and lost two inner layers of the design (or so I thought).

    I rebuilt the two inner layers from scratch, registered and closed design.

    Open the file the next day, I discovered two extra layers "recovered." My drawing has now 6 layers.

    I tried to remove the layers recovered, but I can't do it without losing information of drilling as well.

    Is there a safe way to extract recovered segments of the design without losing the drill news?

    Thank you very much, Tod

    Hi Tod,

    "Recovered layers" is created on opening a file if Ultiboard find objects that refer to layers that do not exist in the Council. As a general rule, it should be safe to remove these layers in the dialog box properties of PCBS, because these objects are usually copper coins. First of all, you need to remove all the objects of these layers. An easy way to do it is:

    1. Right-click and hold, dragging the mouse over your design (similar to the way you would normally select with the left button of the mouse)
    2. Release the mouse button, and displays a context menu
    3. Click Select objects on layers specified...
    4. Select one of the layers 'recovered '. Click OK.
    5. Edit > delete

    (I feel like I could be missing here and if so, let me know).

  • How to remove imported transitions?

    Hello

    I have download a package to import new transitions in Premiere Pro. I tried to remove this transition pack, but I can't. Imported transitions remain in the list my effects (see screenshot). You have a solution to remove these transitions?

    Thank you very much!

    Capture1111111.PNG

    Download FilmImpact removal tool:

    https://www.filmImpact.NET/FAQ/

    and click on the uninstall section how to do.

    MtD

  • PDF with Images - layers of white text showing on picture - how to remove?

    Hi all, I was sent a multi-page pdf. When I go online (in firefox or chrome), the pdf file seems perfect. When I print the pdf and then open the PDF on my system, it shows the pdf with white text on any word. I opened the PDF in illustrator and saw immediately that there is a layer of white text. If I delete the layer, everything looks ok.

    The layer of fonts on all pages are presented. They are not necessary, how do I remove the layer of outline fonts in acrobat? Its a huge file with many pages.

    So firstly I would like to know what has caused this? What is an accessibility issue forced? Second how to remove all text white file so that I can see actually correctly?

    Difficulty.

    Open pdf file and using preflight. Clicked on the key and sought to "create different layers for text vector image. Since there are no layers. It will ask you to save the pdf file. Save, then open the layers and uncheck vector layers. Return to the preflight and key key and double-click on the content of the layer lay hidden and flatten visible layers. It will ask you to register.

    New file will now appear not text. Acrobat documents it's terrible!

  • How "merge" several duplicate layers together to make a single image?

    How "merge" several duplicate layers in the same image, (each of them with a number painted on it) in an image, which shows all the numbers separated, that is are coalition? Believe me, I tried all means to do, but nothing helps, I just can't 'merge' into a single image. Help, please! I use Photoshop cc with windows 7.

    Select all layers, and then press ctrl-alt-shift-e. This will create a composite of all layers, leaving your only originals.

    Each layer must have a mask or pixels removed to create a transparent box that allows to display the image in the next layer below and so on. This must be done before you create the composite.

  • How you properly structure layers in Illustrator to create character animator keyboard triggers?

    How you properly structure layers in Illustrator to create character animator keyboard triggers? I was able to trigger several layers are displayed, but after the first layer, I lose the ability to control the eyes, eyebrows, etc.  The tutorials have for example Photoshop, but there is none for illustrator.  I work in illustrator and would not have to move around with Photoshop.

    Thank you, Mark.

    When you configure multiple views puppets (that is, by pressing keyboard triggers to switch to profile/quarter views), you need to adapt the behavior of the Face and behavior of lip sync (if do lip sync), the puppet of top level down to the individual view subpuppets. For your work or any other configured in this way, follow these steps:

    1. In the project Panel, select the puppet.
    2. In the properties panel, remove the face and Lip Sync behaviors.
    3. Double-click the puppet to open it in the Panel of the puppet.
    4. Whirlpool open character > subpuppet Chief (in your example) so you can see the layers view subpuppet.
    5. Select all the layers in view subpuppet (in your case, currently, before and on the right side).
    6. Add the behaviors of face and Lip Sync in the add behavior menu ('+ ') in the properties panel. This allows you to adjust the settings on a view-by-view basis.

    Now, that you trigger different views, your facial expressions and speech can still control the character's face.

    It is also covered in this FAQ: FAQ: why my character's mouth does not work at the outbreak of a default (front) view for a puppet multivue?

    I hope this helps.

  • How to remove photos from my iphone6s after their importation?

    How to remove photos from my iphone6s after their importation?

    Hello KConstant,

    I understand that you're looking to remove photos from your iPhone, after you import the to your Mac. It depends largely on how the images are imported into your Mac.

    If you use iCloud photo library, remove photos from your iPhone, after they have synched to the Photos on your Mac afterwards would remove these photos on your Mac as well, like iCloud photo library is designed to synchronize your iPhone with iCloud and Mac.

    However, if you are importing photos via the USB port of the Photos app, you should be prompted to delete pictures from your device once the import is complete:

    Once the import is complete, a message asks if you want to delete or keep the photos on your device. Click on remove items to remove photos or click on keep items to keep them on the device.

    Import photos and videos from your iPhone, iPad or iPod touch
    https://support.Apple.com/en-us/HT201302

    You can also (it not allowed you iCloud photo library on your iPhone), you can use the image capture on your Mac app to delete images from your iPhone. This can also be useful to remove the last images that have already been imported into the Photos on your Mac. Once you have selected the images you want in the Image Capture, you can click on the prohibitive red symbol () to delete the selected items.

    Image capture: transfer images and other elements of your device
    https://support.Apple.com/kb/PH17894

    Concerning

  • I accidentally imported photos to my iPhone 6, how to remove them from my iPhone?

    I accidentally imported photos from my Mac to my iPhone 6 and now I can't delete these photos.  How to remove these photos now?

    Raiders999 wrote:

    I accidentally imported photos from my Mac to my iPhone 6 and now I can't delete these photos.  How to remove these photos now?

    the opposite of this keep your photos safely stored and updated on all your devices - Apple Support you unsync them

  • How to remove all the pictures imported from my I phone 6

    How to remove all the pictures imported from my I phone 6

    Imported from the place where?

    If they were imported from your computer, you remove the same way that you put on there: by syncing with iTunes. to remove them, you need to synchronize an empty folder, or simply turn off the Photo in the form of synchronization option summary pane when the iPhone is connected.

  • How to remove the file 'recently imported' photos in Windows Photo Gallery, once I have tagged each of them?

    I import my pictures in Windows Photo Gallery.  They go into the folder "recently imported.  I go through and mark each picture accordingly.  Once I did this, how to remove photos in the folder "recently imported" without deleting duplicates that are now in properly labeled files?

    Maybe the post following Dave Johnson (MSFT) will answer your question.

    Windows Vista Photo Gallery
    http://www.Vistax64.com/Vista-music-pictures-video/62969-Windows-Vista-Photo-Gallery.html#post308647

  • How to merge several layers in one without destroying the layers of origin?

    How to merge several layers in one without destroying the layers of origin?

    joelb2995629 wrote:

    How to merge several layers in one without destroying the layers of origin?

    The solution is a very useful shortcut, but requires a bit of dexterity.

    Of is it: Ctrl + Alt + Shift + e. (Yes, 4 keys at the same time).

    This creates a new layer that is the fusion of visible layers.

    To be on the top layer and don't have ensure that active useful layers.

  • How to freeze the layers and block them so that they do not appear when you open the file?

    How to freeze the layers and block them so that they do not appear when you open the file?

    You can set the Initial State of the layers as hidden.

    The game, 18:09, kathya97643775, [email protected], 8 October 2015 >

  • Elemments 13 how to display the layers panel

    13 elements how to display the layers panel

    In Expert Mode, window > layers.

  • How to batch export layers in png in cc files

    I have a problem with an export of layers to the script files I want to layer export batch in png and this script I have seems to be the only I can whenever I run the script I get this error message "Could not complete the action because the destination folder does not exist" the script required me to hardcode the my destination path the path that I need is "C:/users/Tim/Desktop/decors/png / '. I'm not completely sure why its registrant, that there is not any help would be greatly appreciated. I tried to contact the creator, but the post that it was was very old.

    activate the double click from the Macintosh Finder or Windows Explorer

    #target photoshop

    //=================================================================

    Globals

    //=================================================================

    exportPath var = ' / users/pedr/Documents/work/Clients/routes/Learning_Hub/Source/Comics/export ";

    exportPath = exportPath + "/ layers ';

    Localized UI strings

    var strTitle = localize("$$$/JavaScripts/X2L/Title=X2L");

    var strButtonRun = localize("$$$/JavaScripts/X2L/Run=Run");

    var strButtonCancel = localize("$$$/JavaScripts/X2L/Cancel=Cancel");

    var strHelpText = locate ("$$$ / JavaScripts/X2L/Help = Please specify the format and location for the registration of each layer as a file.");

    var strLabelDestination = localize("$$$/JavaScripts/X2L/Destination=Destination:");

    var strButtonBrowse = locate ("$$$ / JavaScripts/X2L/Browse = & Browse...");

    var strLabelFileNamePrefix = locate ("$$$ / JavaScripts/X2L/FileNamePrefix = filename prefix :"); ")

    var strCheckboxVisibleOnly = locate ("$$$ / JavaScripts/X2L/VisibleOnly only = & layers visible only");

    var strLabelFileType = locate ("$$$ / JavaScripts/X2L/FileType = Type of file :"); ")

    var strCheckboxIncludeICCProfile = locate ("$$$ / JavaScripts/X2L/IncludeICC = & include ICC profile");

    var strJPEGOptions = locate ("$$$ / JavaScripts/X2L/JPEGOptions = Options JPEG :"); ")

    var strLabelQuality = localize("$$$/JavaScripts/X2L/Quality=Quality:");

    var strCheckboxMaximizeCompatibility = locate ("$$$ / JavaScripts/X2L/enlarge = & maximize compatibility");

    var strTIFFOptions = locate ("$$$ / JavaScripts/X2L/TIFFOptions = TIFF Options :"); ")

    var strLabelImageCompression = locate ("$$$ / JavaScripts/X2L/ImageCompression = Compression of Image :"); ")

    var strNone = localize("$$$/JavaScripts/X2L/None=None");

    var strPDFOptions = locate ("$$$ / JavaScripts/X2L/PDFOptions = PDF Options :"); ")

    var strLabelEncoding = localize("$$$/JavaScripts/X2L/Encoding=Encoding:");

    var strTargaOptions = locate ("$$$ / JavaScripts/X2L/TargaOptions = Options of Targa :"); ")

    var strLabelDepth = localize("$$$/JavaScripts/X2L/Depth=Depth:");

    var strRadiobutton16bit = localize("$$$/JavaScripts/X2L/Bit16=16bit");

    var strRadiobutton24bit = localize("$$$/JavaScripts/X2L/Bit24=24bit");

    var strRadiobutton32bit = localize("$$$/JavaScripts/X2L/Bit32=32bit");

    var strBMPOptions = locate ("$$$ / JavaScripts/X2L/BMPOptions = Options of BMP :"); ")

    var strAlertSpecifyDestination = locate ("$$$ / JavaScripts/X2L/SpecifyDestination = please specify destination.");

    var strAlertDestinationNotExist = locate ("$$$ / JavaScripts/X2L/DestionationDoesNotExist = Destination does not exist.");

    var strTitleSelectDestination = locate ("$$$ / JavaScripts/X2L/SelectDestination = Select Destination");

    var strAlertDocumentMustBeOpened = locate ("$$$ / JavaScripts/X2L/OneDocument = you must have a document open for export!");

    var strAlertNeedMultipleLayers = locate ("$$$ / JavaScripts/X2L/NoLayers = you need a document with several layers to export!");

    var strAlertWasSuccessful = locate ("$$$ / JavaScripts/X2L/success = succeeded.");

    var strUnexpectedError = locate ("$$$ / JavaScripts/X2L/Unexpected = unexpected error");

    var strMessage = localize("$$$/JavaScripts/X2L/Message=X2L");

    var stretQuality = locate (' $$$ / locale_specific/JavaScripts/X2L/ETQualityLength = 30 ");

    var stretDestination = locate (' $$$ / locale_specific/JavaScripts/X2L/ETDestinationLength = 160 ');

    var strddFileType = locate (' $$$ / locale_specific/JavaScripts/X2L/DDFileType = 100 ');

    var strpnlOptions = locate (' $$$ / locale_specific/JavaScripts/X2L/PNLOptions = 100 ');

    var strPNG8Options = locate ("$$$ / JavaScripts/X2L/PNG8Options = PNG-8 Options :"); ")

    var strCheckboxPNGTransparency = localize("$$$/JavaScripts/X2L/Transparency=Transparency");

    var strCheckboxPNGInterlaced = localize("$$$/JavaScripts/X2L/Interlaced=Interlaced");

    var strCheckboxPNGTrm = locate ("$$$ / JavaScripts/X2L/Trim = Trim layers");

    var strPNG24Options = locate ("$$$ / JavaScripts/X2L/PNG24Options = Options format PNG-24 :"); ")

    the drop in the index from the file type list

    var png24Index = 7;

    main();

    ///////////////////////////////////////////////////////////////////////////////

    Functions

    ///////////////////////////////////////////////////////////////////////////////

    ///////////////////////////////////////////////////////////////////////////////

    Function: main

    Use: the core routine for this script

    Entry: < no >

    Return: < no >

    ///////////////////////////////////////////////////////////////////////////////

    main() {} function

    If (app.documents.length < = 0) {}

    If (DialogModes.NO! = app.playbackDisplayDialogs) {}

    Alert (strAlertDocumentMustBeOpened);

    }

    return to "Cancel"; quitting smoking, return "Cancel" (do not localize) makes the palette actions not to register our script

    }

    var exportInfo = new Object();

    initExportInfo (exportInfo);

    Search the last used via Photoshop register params, getCustomOptions rise if none does not exist

    try {}

    }

    {catch (e)}

    It's ok if we have any options, continue with the default settings

    }

    try {}

    var Nomdoc = app.activeDocument.name;  record the name of app.activeDocument before double.

    var layerCount = app.documents [docName].layers.length;

    var layerSetsCount = app.documents [docName].layerSets.length;

    If ((layerCount < = 1) & & (layerSetsCount < = 0)) {}

    If (DialogModes.NO! = app.playbackDisplayDialogs) {}

    Alert (strAlertNeedMultipleLayers);

    return to "Cancel"; quitting smoking, return "Cancel" (do not localize) makes the palette actions not to register our script

    }

    } else {}

    var rememberMaximize;

    var needMaximize = exportInfo.psdMaxComp? QueryStateType.ALWAYS: QueryStateType.NEVER;

    app.activeDocument = app.documents [docName];

    var duppedDocument = app.activeDocument.duplicate ();

    duppedDocument.activeLayer = duppedDocument.layers [duppedDocument.layers.length - 1]; to remove the

    setInvisibleAllArtLayers (duppedDocument);

    exportChildren (duppedDocument, app.documents [docName], exportInfo, duppedDocument, exportInfo.fileNamePrefix);

    duppedDocument.close (SaveOptions.DONOTSAVECHANGES);

    If (rememberMaximize! = undefined) {}

    app.preferences.maximizeCompatibility = rememberMaximize;

    }

    If (DialogModes.ALL == app.playbackDisplayDialogs) {}

    Alert (strTitle + strAlertWasSuccessful);

    }

    app.playbackDisplayDialogs = DialogModes.ALL;

    }

    } catch (e) {}

    If (DialogModes.NO! = app.playbackDisplayDialogs) {}

    Alert (e);

    }

    return to "Cancel"; quitting smoking, return "Cancel" (do not localize) makes the palette actions not to register our script

    }

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: settingDialog

    Use: pop of the UI and get the user settings

    Entry: object of exportInfo containing our settings

    Back: OK, the info in the dialog box is set to the exportInfo object

    ///////////////////////////////////////////////////////////////////////////////

    function settingDialog (exportInfo) {}

    return;

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: hideAllFileTypePanel

    Use: hide all panels in common stocks

    Entered: < none >, dlgMain is a global for this script

    Return: < any >, all the panels are now hidden

    ///////////////////////////////////////////////////////////////////////////////

    function hideAllFileTypePanel() {}

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: initExportInfo

    Use: create our default settings

    Entry: a new object

    Return: a new object with the default params

    ///////////////////////////////////////////////////////////////////////////////

    function initExportInfo (exportInfo) {}

    exportInfo.destination = new String (exportPath);

    exportInfo.fileNamePrefix = new String ("untitled_");

    exportInfo.visibleOnly = false;

    exportInfo.fileType = png24Index;

    exportInfo.icc = true;

    exportInfo.png24Transparency = true;

    exportInfo.png24Interlaced = false;

    exportInfo.png24Trim = true;

    try {}

    exportInfo.destination is Folder (new String (exportPath)) .fsName;. destination folder

    var tmp = app.activeDocument.fullName.name;

    exportInfo.fileNamePrefix = decodeURI (tmp.substring (0, tmp.indexOf("."))); part of the body filename

    } catch (someError) {}

    exportInfo.destination = new String (exportPath);

    exportInfo.fileNamePrefix = app.activeDocument.name; part of the body filename

    }

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: saveFile

    Use: the routine of work, take our params and save the file accordingly

    Entry: refers to the document, the name of the output file,

    export of information object containing more information

    Return: < any >, a file on disk

    ///////////////////////////////////////////////////////////////////////////////

    function saveFile (docRef, fileNameBody, exportInfo) {}

    saveFile (docRef, fileNameBody, exportInfo, false, true);

    function saveFile (docRef, fileNameBody, exportInfo, interlacedValue, transparencyValue) {}

    var id6 = charIDToTypeID ('Expr');

    var desc3 = new ActionDescriptor();

    7 var = charIDToTypeID ("Usng");

    var desc4 = new ActionDescriptor();

    id8 var = charIDToTypeID ("Op");

    id9 var = charIDToTypeID ('SWOp');

    var id10 = charIDToTypeID ("OpSa");

    Desc4.putEnumerated (id8, id9, id10);

    id11 var = charIDToTypeID ("Fmt");

    id12 var = charIDToTypeID ("IRFm");

    id13 var = charIDToTypeID ("PN24");

    Desc4.putEnumerated (id11, id12, id13);

    var id14 = charIDToTypeID ("Introduction");

    Desc4.putBoolean (id14, interlacedValue);

    id15 var = charIDToTypeID ("Trns");

    Desc4.putBoolean (id15, transparencyValue);

    id16 var = charIDToTypeID ("Mtt");

    Desc4.putBoolean (id16, true);

    var id17 = charIDToTypeID ("MttR");

    Desc4.putInteger (id17, 255);

    var id18 = charIDToTypeID ("MttG");

    Desc4.putInteger (id18, 255);

    id19 var = charIDToTypeID ("MttB");

    Desc4.putInteger (id19, 255);

    id20 var = charIDToTypeID ("SHTM");

    Desc4.putBoolean (id20, false);

    id21 var = charIDToTypeID ("SImg");

    Desc4.putBoolean (id21, true);

    id22 var = charIDToTypeID ("OHSA");

    Desc4.putBoolean (id22, false);

    var id23 = charIDToTypeID ("SSLt");

    var list1 = new ActionList();

    Desc4.putList (id23, list1);

    var id24 = charIDToTypeID ("DIDr");

    Desc4.putBoolean (id24, false);

    id25 var is charIDToTypeID ('In');.

    Desc4.putPath (id25, new file (exportPath + "C:/users/Tim/Desktop/decors/png /" + fileNameBody + ".png"));

    var delayed26 = stringIDToTypeID ('SaveForWeb');

    Desc3.putObject (7, delayed26, desc4);

    executeAction (id6, desc3, DialogModes.NO);

    }

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: zeroSuppress

    Use: return a string completed up to the figure (s)

    Entry: num to convert, the number of necessary digits

    Return: string padded all numbers

    ///////////////////////////////////////////////////////////////////////////////

    function zeroSuppress (num, number) {}

    var tmp = num.toString ();

    While (tmp.length < number) {}

    tmp = '0' + tmp;

    }

    return tmp;

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: setInvisibleAllArtLayers

    Use: Unlock and make invisible all the layers of art, recursively

    Entry: document or layerset

    Back: all layers of art are unlocked and invisible

    ///////////////////////////////////////////////////////////////////////////////

    function setInvisibleAllArtLayers (obj) {}

    for (var i = 0; i < obj.artLayers.length; i ++) {}

    obj.artLayers [i] .allLocked = false;

    obj.artLayers [i] .visible = false;

    }

    for (var i = 0; i < obj.layerSets.length; i ++) {}

    setInvisibleAllArtLayers (obj.layerSets [i]);

    }

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: removeAllInvisibleArtLayers

    Use: remove all layers invisible art, recursively

    Entry: document or layer set

    Return: < any >, all invisible layers are now gone

    ///////////////////////////////////////////////////////////////////////////////

    function removeAllInvisibleArtLayers (obj) {}

    for (var i = obj.artLayers.length - 1; 0 < = i; i--) {}

    try {}

    {if(!obj.artLayers[i].visible)}

    obj.artLayers [i] .remove ();

    }

    }

    {} catch (e)

    }

    }

    for (var i = obj.layerSets.length - 1; 0 < = i; i--) {}

    removeAllInvisibleArtLayers (obj.layerSets [i]);

    }

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: removeAllEmptyLayerSets

    Use: find everything empty layer sets and remove them, recursively

    Entry: document or layer set

    Return: empty layer sets are now gone

    ///////////////////////////////////////////////////////////////////////////////

    function removeAllEmptyLayerSets (obj) {}

    var foundEmpty = true;

    for (var i = obj.layerSets.length - 1; 0 < = i; i--) {}

    If (removeAllEmptyLayerSets (obj.layerSets [i])) {}

    obj.layerSets [i] .remove ();

    } else {}

    foundEmpty = false;

    }

    }

    If (obj.artLayers.length > 0) {}

    foundEmpty = false;

    }

    Return foundEmpty;

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: zeroSuppress

    Use: return a string completed up to the figure (s)

    Entry: num to convert, the number of necessary digits

    Return: string padded all numbers

    ///////////////////////////////////////////////////////////////////////////////

    function removeAllInvisible (docRef) {}

    removeAllInvisibleArtLayers (docRef);

    removeAllEmptyLayerSets (docRef);

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: exportChildren

    Use: find all the children in this document to record

    Entry: duplicate the original of the document, export info.

    Document reference, from file name

    Return: < any >, the documents are saved accordingly

    ///////////////////////////////////////////////////////////////////////////////

    function exportChildren (dupObj, orgObj, exportInfo, dupDocRef, fileNamePrefix) {}

    for (var i = 0; i < dupObj.artLayers.length; i ++) {}

    If (exportInfo.visibleOnly) {/ / only visible layer}

    If (! orgObj.artLayers [i] .visible) {}

    continue;

    }

    }

    dupObj.artLayers [i] .visible = true;

    var NomCouche = dupObj.artLayers [i] .name;  store the name of the layer before change doc

    var duppedDocumentTmp = dupDocRef.duplicate ();

    If ((png24Index == exportInfo.fileType) |) (png8Index is exportInfo.filetype)) {/ / PSD: maintain transparency}

    removeAllInvisible (duppedDocumentTmp);

    PNGFileOptions

    If (activeDocument.activeLayer.isBackgroundLayer == false) {//is it something other than a background layer?}

    app.activeDocument.trim (TrimType.TRANSPARENT);

    }

    } else {/ / all flatten}

    duppedDocumentTmp.flatten ();

    }

    Edit

    var Nomdoc = app.activeDocument.name;

    For some reason any indexOf fails if we include the '-', so we use 'copy' and decrement the index of 1.

    docName = docName.slice (0, docName.indexOf('copy')-1);

    var fileNameBody = (docName + '_' + layerName) .toLowerCase ();

    fileNameBody = fileNameBody.replace (/ [:------/------* \? \ "\ <>\ \ |"]) /g, "_");  // '/\:*?" <> |' -> « _ »

    If {(fileNameBody.length > 120)

    fileNameBody = fileNameBody.substring (0.120);

    }

    saveFile (duppedDocumentTmp, fileNameBody, exportInfo);

    duppedDocumentTmp.close (SaveOptions.DONOTSAVECHANGES);

    dupObj.artLayers [i] .visible = false;

    }

    for (var i = 0; i < dupObj.layerSets.length; i ++) {}

    If (exportInfo.visibleOnly) {/ / only visible layer}

    If (! orgObj.layerSets [i] .visible) {}

    continue;

    }

    }

    var fileNameBody = fileNamePrefix;

    fileNameBody += '_' + zeroSuppress (i, 4) + "s";

    exportChildren (dupObj.layerSets [i], orgObj.layerSets [i], exportInfo, dupDocRef, fileNameBody);  recursive call

    }

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: objectToDescriptor

    Use: create an ActionDescriptor of a JavaScript object

    Entry: JavaScript Object (o)

    unique chain of the object (s)

    Pre process converter (f)

    Return: ActionDescriptor

    NOTE: Only, boolean, string, number and UnitValue are supported, use a pre processor

    to convert other types (f) to one of these forms.

    REUSE: This routine is used in other scripts. Please update those if you

    change. I'm not include using or eval statements that I want these

    stand-alone scripts.

    ///////////////////////////////////////////////////////////////////////////////

    function objectToDescriptor (o, s, f) {}

    o = {};

    var d = new ActionDescriptor;

    var l = o.reflect.properties.length;

    d.putString (app.charIDToTypeID ('Msge"), s);

    for (var i = 0; i < l; i ++) {}

    var k = o.reflect.properties [i] m:System.NET.SocketAddress.ToString ();

    If (k == '__proto__' | k == '__count__' | k == '__class__' | k == 'reflect')

    continue;

    var v = o [k];

    k = app.stringIDToTypeID (k);

    Switch (typeof (v)) {}

    case 'boolean ':

    d.putBoolean (k, v);

    break;

    case "string":

    d.putString (k, v);

    break;

    case 'number ':

    d.putDouble (k, v);

    break;

    by default:

    {

    If (v instanceof UnitValue) {}

    UC var = new Object;

    UC ["px"] = charIDToTypeID ("#Rlt"); unitDistance

    UC ["%"] = charIDToTypeID ("#Prc"); unitPercent

    d.putUnitDouble (k, uc [v.type], v.value);

    } else {}

    throw (new Error ("Unsupported type in objectToDescriptor" + typeof (v)));

    }

    }

    }

    }

    return d;

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: descriptorToObject

    Use: updating a JavaScript from an ActionDescriptor object

    Entry: JavaScript Object (o), current to update object (output)

    Photoshop ActionDescriptor (d), descriptor shoot again for object params of

    unique chain of the object (s)

    JavaScript function (f), position the utility of conversion process

    Back: Nothing, update is applied to spent in JavaScript Object (o)

    NOTE: Only, boolean, string, number and UnitValue are supported, use a post-processor

    to convert other types (f) to one of these forms.

    REUSE: This routine is used in other scripts. Please update those if you

    change. I'm not include using or eval statements that I want these

    stand-alone scripts.

    ///////////////////////////////////////////////////////////////////////////////

    function descriptorToObject (o, d, f, s) {}

    var l = d.count;

    If {(l)

    var keyMessage = app.charIDToTypeID ("Msge");

    If (d.hasKey (keyMessage) & & (s! = d.getString (keyMessage))) return;

    }

    for (var i = 0; i < l; i ++) {}

    var k = d.getKey (i); // i + 1 ?

    var t = d.getType (k);

    STRK = app.typeIDToStringID (k);

    switch (t) {}

    case DescValueType.BOOLEANTYPE:

    o [strk] = d.getBoolean (k);

    break;

    case DescValueType.STRINGTYPE:

    o [strk] = d.getString (k);

    break;

    case DescValueType.DOUBLETYPE:

    o [strk] = d.getDouble (k);

    break;

    case DescValueType.UNITDOUBLE:

    {

    UC var = new Object;

    UC [charIDToTypeID ("#RLT")] = "px"; unitDistance

    UC [charIDToTypeID ("#PRC")] = '% '; unitPercent

    UC [charIDToTypeID ("#pxl")] = "px"; unitPixels

    UT var = d.getUnitDoubleType (k);

    var uv = d.getUnitDoubleValue (k);

    o [strk] = new UnitValue (uv, uc [ut]);

    }

    break;

    case DescValueType.INTEGERTYPE:

    case DescValueType.ALIASTYPE:

    case DescValueType.CLASSTYPE:

    case DescValueType.ENUMERATEDTYPE:

    case DescValueType.LISTTYPE:

    case DescValueType.OBJECTTYPE:

    case DescValueType.RAWTYPE:

    case DescValueType.REFERENCETYPE:

    by default:

    throw (new Error ("Unsupported type in descriptorToObject" + t));

    }

    }

    If (undefined! = f) {}

    o = f (o);

    }

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: preProcessExportInfo

    Usage: Convert Photoshop enums to strings for storage

    Entry: Object of JavaScript of my parameters for this script

    Return: Object of JavaScript with objects converted for storage

    ///////////////////////////////////////////////////////////////////////////////

    function preProcessExportInfo (o) {}

    o.tiffCompression = o.tiffCompression.toString ();

    o.pdfEncoding = o.pdfEncoding.toString ();

    o.targaDepth = o.targaDepth.toString ();

    o.bmpDepth = o.bmpDepth.toString ();

    Return to o;

    }

    ///////////////////////////////////////////////////////////////////////////////

    Function: postProcessExportInfo

    Usage: convert strings in destocking Photoshop enums

    Entry: Object of my parameters a string JavaScript

    Return: Object of JavaScript with objects in the form of enum

    ///////////////////////////////////////////////////////////////////////////////

    function postProcessExportInfo (o) {}

    o.tiffCompression = eval (o.tiffCompression);

    o.pdfEncoding = eval (o.pdfEncoding);

    o.targaDepth = eval (o.targaDepth);

    o.bmpDepth = eval (o.bmpDepth);

    Return to o;

    }

    ///////////////////////////////////////////////////////////////////////////

    Function: StrToIntWithDefault

    Usage: convert a string to a number, first depriving all the characters

    Input: a string and a number of default

    Return: a number

    ///////////////////////////////////////////////////////////////////////////

    function StrToIntWithDefault (s, n) {}

    var onlyNumbers = / [^ 0-9] / g;

    var t is SS. Replace (onlyNumbers, "");

    t = parseInt (t);

    If (! isNaN (t)) {}

    n = t;

    }

    return n;

    }

    End X2L.jsx

    The exportPath variable is what you want to change to the beginning. It should read:

    var exportPath = "~/Desktop/Backdrops/png/";
    exportPath = exportPath + '/layers';//Get rid of this
    

    The line you mentioned above should be:

    desc4.putPath( id25, new File( exportPath + fileNameBody + ".png") );
    

    Again, you must be logged in as 'Tim' to access folder of the user. If you're not, you must run the script as an administrator, and then specify the entire path.

  • First Pro CC 7.2.1 will not import layers of a file HAVE

    I know in the past would not import a layered to the Premiere Pro, but is that always the case? I can get a layered PSD file to import layers as usual. When I try to import a layered file to HAVE, I do not get the dialog box "Import a layered" as I do with the files PSD; I get a flattened image. Is it a setting I forgot or isn't ALWAYS a feature?

    Thanks for your help!

    No importing layered files HAVE.

    But when they are imported into first and you want to change something suddenly change the Original and the file will open in layers in Illustrator.

Maybe you are looking for