For each object, create a new layer and rename it

Hello!

I want to export an Illustrator file to DWG, and I have many things I want to keep the name. But to keep this info in AutoCAD, I need to transfer them as layer names (DWG/DXF export does not record the name of the object, but the name of the first level layer) and put all these layers as layers of level first (DWG/DXF export maintains just first layers of level).

So I would like to make or find a capable script something like this:

in my file,.

for each object,.

see if there is a layer with the name of the object

If there is any layer with the same name

then

Create a layer,

give the name of the object to the layer

endif

Place the object in this layer

Is there someone who can help me?

Thank you!

You can select your layer, then use "Release to layers", which will create a sublayer for each object that you have, and then a script can rename these layers based on the named object it contains... so you can drag them all out of their layer sublayers parent so that they become the main layers... everything that is explained here, including the script

Selected lap HAVE sublayers in top-level layers?

Tags: Illustrator

Similar Questions

  • Place 2 objects in a new layer and rename it that layer

    Hi all

    Have a small problem and need your help:

    -J' have an AI with hundreds of items in there. All in a single layer.

    -There are two types of objects: blocks and textlayers (numbers). Each block has so a number on top it is.

    http://i58.tinypic.com/mafmgg.jpg

    What I ultimately need is a new layer structure:

    -Each object + textlayer must be placed in a separate layer, AND that a new layer should be renamed the number which is within that layer. Like this:

    http://i58.tinypic.com/2wejfup.jpg

    My first thought was to collect items from its position. For example: Position the text object can be placed at x and are coordinated from the block, but + 2mm for margin offset. What would be the point of recognition for the script to put in the separate layer.

    Or look for bunk objects and put them in a new layer.

    Also found something that can work with existing scripts if it can there have written an extra:

    Here is a script for the conversion of groups in layers and keeping the group names:

    http://forums.Adobe.com/thread/892733

    Here is a script to make groups of objects that overlap:

    http://js4ai.blogspot.be/2008/04/new-script-group-overlapping-objects.html

    In theory if there is a script to change the names of groups with names textlayer, then would solve the problem in these three steps.

    Does anybody know a solution for this? I'm not a developer, know almost nothing about the coding.

    Thank you!

    Here you go,

    What is this for? just curious

    #target Illustrator
    
    //  script.name = moveText_n_Box_toNewLayer.jsx;
    //  script.description = custom script to move a path and its INSCRIBED label to a new layer
    //  script.requirement = CS5+ only, one open document, one artboard, some rectangles and text labels inside them.
    //  script.parent = carlos canto // 03/31/14
    //  script.elegant = false;
    
    //  http://forums.adobe.com/thread/1440702?tstart=0
    
    var idoc = app.activeDocument;
    var abRect = idoc.artboards[0].artboardRect;
    var tempAB = idoc.artboards.add(abRect);
    
    var tfs = []; // text frames container
    
    for (j=0; j		   
  • When I click on light effects, it simply creates a new layer, and I can't really change/tweak the enlightenment... help

    Photoshop lighting effect filter does not work. A new layer called just the effects of light appears, why?

    Under help > system info, copy and paste the first two lines identifying the exact version of your OS and Photoshop.

    In Photoshop, the command is the menu Filter > render > lighting effects

    Don't use "Last filter" or it runs the command without bring to the top of the dialog box.

  • 'create a new layer without dialogue' redefine shortciut

    Hello.

    A desire to redefine the default shortcut for the command 'create a new layer without dialogue' but I can't find this command in the shortcuts preferences.

    What section of the preferences in photoshop cs6 shortcut, nested this command?

    Thank you.

    I don't think it's a shortcut that can be redefined as such in the command Editor, but you could use a script and assign a keyboard shortcut for the script.

    The following script will make a new layer without the dialog box.

    // =======================================================
    var idMk = charIDToTypeID ("Mk");
    var desc10 = new ActionDescriptor();
    var idnull = charIDToTypeID ("null");
    var ref9 = new ActionReference();
    var idLyr = charIDToTypeID ("Lyr");
    Ref9.putClass (idLyr);
    desc10.putReference (idnull, ref9);
    executeAction (idMk, desc10, DialogModes.NO);

    You can copy the above script, paste into Adobe ExtendScript Toolkit CS6 , and then save the script in the cs6 Presets > Scripts folder in the program folder or the photoshop cs6 application.

    (you can call it as you like, therefore the .jsxextension)

    Then when you restart photoshop cs6, it should appear under file > Scripts and you can use the keyboard shortcuts Editor to assign a shortcut to the script.

    What operating system do you use?

  • How can I stop Photoshop CS4 create a new layer each time I use the online tool?

    How can I stop Photoshop CS4 create a new layer each time I use the online tool?

    Whenever I use the online tool, a new layer is created. How can I stop this? No settings have been changed.
    Thanks in advance.

    Look at the three options in the top bar.

  • When installing a new operating system isn't automatically wipe the hard disk, create a new partition, and then install the operating system?

    Have a Dell system, caught a virus and it has really messed up the PC. Recently, it got worse so I tried to reinstall the operating system with the Dell disks. It wouldn't work. So I bought for Windows 7 Professional, it will not be installed. My first question when installing a new operating system isn't automatically wipe the hard disk, create a new partition, and then install the operating system? Because this does the same as the Dell disks, is to take what is on the hard drive and put it in a folder called windows old, is not formatting the HD. When I boot the disk, it shows the installation of files then open windows and start the installation. Before he could finish I get an error missing or corrupted files. Tried several times now, windows will still not open. Any suggestions? Once while trying to install the pc crashed with a blue screen which is one of the reasons why I have reinstall the OS, he started to plant a few times. I don't remember all the details on my PC, but its 4 years, triple core coprocessors, ram 8 GB, 500 GB HD. At the same time just after all this started in Jan. I had also improved my 3 GB to 8 GB memory. I bought the Dell memory for my system. Since the crash, could there be a problem with these new memory chips? Last night I tried to disassemble each and reinstalling it, but that doesn't seem to make a difference. Before I tried to reinstall the operating system, the pc was see the concert 8.

    Original title: used to install Windows 7

    Disconnect any other (additional) internal hard drives and external USB devices.
    Look for any loose hard drive power or cables SATA, graphics card or other power cables.

    First run Memtest86 +:
    It runs from a floppy disk or CD and should eliminate or confirm if one or more of your memory
    sticks are bad or the values of the SPD in the BIOS are correct.
    Let it run for as long as you can: 2,4,6,8 or several hours (at least 3 full passes), so no errors at that time then your ram is OK.
    http://www.memtest.org/
    Memtest86 + Guide/How To (use the.) ISO to create a bootable CD)
    http://www.overclockers.com/forums/showthread.php?t=409152

    Hard drive test:
    If you do not know your readers of the brand and model, try "Speccy",.
    It provides information from the computer/system in detail:
    OS, CPU, RAM, motherboard, graphics, Hard Drive, optical, Audio, peripherals, network.
    Note: Option RAM indicates number of slots, DRAM Timing.
    Works your memory speed (frequency). The nominal frequency of your memory.
    http://www.Piriform.com/Speccy

    Test your player - create a Bootable CD:
    Ranging from 5 to 25% (depending on the make and model) new hard disks are defective.
    Note: Reliability of the drive hard has come the way down over the last 24 months and improved a bit lately according to manufacturing.

    Test your drive with the car manufacture utility.
    If you have a new hard drive Seagate the very next thing would be to download Seagate Seatools
    (bootable CD) and check bad sectors.
    SeaTools for information: http://www.seagate.com/support/downloads/seatools/
    SeaTools for Windows download: http://www.seagate.com/support/internal-hard-drives/enterprise-hard-drives/saturn/seatools-win-master/
    SeaTools for DOS download:
    http://www.Seagate.com/support/internal-hard-drives/consumer-electronics/LD25-series/SeaTools-DOS-master/

    For Western Digital readers to download the .iso from WdDiag file: http://support.wdc.com/product/download.asp?groupid=611&sid=30&lang=en

    Samsung Estool: http://www.samsung.com/global/business/hdd/support/utilities/ES_Tool.html
    Samsung Disk Manager software: http://www.samsung.com/Products/HardDiskDrive/utilities/shdiag.htm

    Hitachi Drive Fitness Test Software: http://www.hgst.com/hdd/support/download.htm#DFT
    Diagnostic tool available for use by customers who believe that having a brand Toshiba Fujitsu hard drive:
    http://SDD.Toshiba.com/main.aspx?path=ServicesandSupport/WarrantySupport/SoftwareUtilities

    Notice of Fujitsu drive management utility: http://www.fujitsu.com/us/services/computing/storage/hdd/

    Toshiba CD bootable: (BACK Diagnostic Tool version 7.0 for IDE/ATA/SATA hard disks)
    http://SDD.Toshiba.com/main.aspx?path=ServicesSupport/FujitsuDrivesUSandCanada/SoftwareUtilities#diagnostic

    Also check Home Edition free Partition Wizard option "Test of disc surface":
    http://www.partitionwizard.com/free-partition-manager.html

    J W Stuart: http://www.pagestart.com

  • call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. The other rows are based on the entities

    Hi Experts,

    JDeveloper 12.1.3.0.0

    I have a VO based on entity object. With a column of the VO is transient attribute (I created).

    I need to call a stored procedure for each row in the transitional attribute and display the data in the form of af: table. As well as other attributes.

    So can anyone suggest how can I achieve this?

    Thank you

    AR

    I think that you need a stored function (which returns the value) in this case, is not?

    Take a look at:

    https://docs.Oracle.com/CD/B31017_01/Web.1013/b25947/bcadvgen005.htm

    and search for:

    Invoking stored function with only Arguments in

    call your function in the Get attribute and return value accessor...

  • I have Photoshop CS6 extended. When I create a new layer, I get the following message. Could not complete the command because the selected area is empty. What I am doing wrong?

    I have Photoshop CS6 Extended. When I create a new layer, I get the following message. Could not complete the command because the selected area is empty.

    What I am doing wrong?

    Thanks for any help

    Bob.

    How do you create the new layer? Looks like you have a selection and use ctrl/cmd-J. If you have a choice and it is empty, you will get this error.

  • Hello Im having trouble with a create a new layer.

    For some reason when I create a new layer, the edges are rounded and when I 'fill' color happens as a gradation, how can I cancel it?Screenshot_6_22_15__10_22_AM.png

    You have the pen 100 px value in the Options bar

  • Questions: Create a new layer / switch between the screen Modes

    I spent the day to reset my workflow and keyboard shortcuts that I have the transition from CS5.5 on CC. A question about the ID:

    1. create a new layer draws up the InDesign menus? In CS5.5, I managed to create a shortcut customized in three programs (PS, I, ID). In cloud creative, no matter how hard I look in InDesign, that I can't find a place in the dialog box shortcuts keyboard to make a shortcut for this command.

    2 in Photoshop and Illustrator, by pressing the F button toggles between screen modes. In InDesign CS5.5, it does the same thing. However, CC does not seem to have this feature. He wants to assign three different shortcuts for Normal, overview and presentation of the screens. Correct, and is it possible to return to a toggle key 'F'?

    Thank you!

    Perhaps scriptable. Ask in the InDesign scripting

  • Cannot create a new layer when you open a gif file

    With the help of Photoshop Elements 8, I opened a gif that I want to change the text. I opened the file and the first thing I want to do is create a new layer, but I'm not able to. the button new layer in the layers box is disabled, as is the menu layers.  How to fix this?

    Image > Mode > RGB. But there are problems to open animated after the fact in recent versions of the EPS, GIF images sometimes. You end up with just one layer, then save your layered as a PSD or tiff for future editing.

  • iMovie 10.1.2 today (June 4, 2016), all of a sudden will not let me create a new project/film.  1. I have used the program extensively in recent weeks, many small travel films. 2. once in the projects, if create a new movie and the sign is checked, the op

    1. I have used the program extensively in recent weeks, many small travel films.

    2. when in the projects, if you click on create a new movie and sign, the new movie and trailer options opens successfully.

    3. click on film, nothing goes very well but open trailer.

    4. the issue seems to be the only new film/project.

    5. I can access all my other movies and run successful projects and theatre.

    6. I tried through a previous project and clicking new project from the menu, but still nothing.

    7 mac is 27 "OS X El Capitan, Version free 10.11.5, with 327 GB to 999 GB

    iMovie is 10.1.2

    8. the computer itself did not fall down and as FAS as I know, all other programs work correctly.

    9. I rebooted several times, but that has not solved the problem.

    10A does anyone else have this problem? If so, how do fix you it?

    Thanks much for any help!

    Have you ever tried to delete the iMovie preferences?  If the elements of the user interface do not, deleting preferences frequently you contribute.

    To delete the iMovie preferences leaving iMovie, runs, and then press and hold options and command key at the same time, at the launch of iMovie. Keep now pressed the buttons firmly until you see a command prompt to remove the preference. Confirm.

    Before you do, take note of all the settings that you made in iMovie preferences panel, so you can put back them later. iMovie will then begin with the Welcome screen.

    When I had a similar problem, the only thing that helped was to create an iMovie library.  Probably a corrupted in the iMovie project current library prevented the creation.   The problem persists, if you test different library in iMovie? You can create a library for testing.

    http://help.Apple.com/iMovie/Mac/10.1/#/mov3fa25bae7

  • Moving files: I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    I am wanting to put the existing files to a new folder, how do I create a new folder and move those file to the new folder?

    Hello

    Go t the location where you want to create the new folder, right-click and select new/folder. Name the folder.

    Go to where the files, select the files and then use the right mouse button to drag the files into the new folder. When you drop the file, a pop-up menu, select the Move option.

    Let us know if you have any other questions.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • In trying to edit my text layer, it creates a new layer. Help please: >

    Yes, as the subject of bed. I can't change my text layer. If I try to use the tool t it doesn't create a new layer. IM displaying a screen so that you can see that I don't have a T-layer.

    These are the characters. IM pretty noob on photoshop. So, you might go through the base of guidance on how to do it.

    However, I tried the t layer doubleclicking. There is no highlight on the text, nothing happens.

    Screen shot 2013-07-19 at 14.27.53.png

    All you can do is remove this layer and re-do with the text tool. There is no way to reverse this trend.

    Always keep a copy of your psd file unrasterized before you rasterize the text.

  • Question: How to create the new user and schema in 11g?

    Who can give me the answer how to create a new user and a schedule?

    I had installed oracle 11g DB and oracle in my OS windows client. I found in the 11g than there is no console management business with the new version. It is no different with oracle 10g. So I don't know how to create this new user.

    I had created a new DB instance, but I did not how to create a user on it. Who can give me a helping hand for who? I hope a give oracle experenice expert answers.

    Thank you very much!

    Published by: user774630 on October 27, 2008 22:01

    Published by: user774630 on October 27, 2008 22:09

    Hello
    I'm not sure which option you are talking about? [Do you use the EMCA, http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/emca.htm#SUTIL800] to create the new repository for the EM? If this isn't the case, the command line that the other is using DBCA (Database Configuration Wizard). I think you're talking about that. Yes, if the message comes from creating the repository that soon after, you can connect to the EM. You would get the port no port HTTP of EM comes from the $OH/install/portlist.ini file.
    HTH
    Aman...

    Published by: Aman... on October 28, 2008 11:36
    Waived, insertion of link does not work.

Maybe you are looking for