Unlocking Objects and NOT layers

Hi all.
Question: in CS4, why is it that when I go to unlock all objects, it also unlocks layers?  That never used to be the case, and I find it extremely frustrating, especially since I want those particular layers to stay locked while I work on others.
Any way around this?
Thanks so much,
B.

FGP,
To work (properly) with Illy, you need to think differently: she is very helpful, but she has her ways, and they are different.
Fundamentally, you cannot just throw everything together in one image as you can with raster artwork which basically consists of coloured pixels.
Vector artwork consists of clearly defined objects to a great extent defined mathematically. If their characteristics match, you can merge multiple objects into one in different ways, with one set of characteristics (such as fill colour and stroke colour and weight (thickness)).
You can open multiple Layers with visibility (the eye icon) and select objects across layers, then perform certain operations such as Pathfinder Unite/Divide/whatever and such as Object>Compound Path>Make, and in each instance it will give you one object on the topmost Layer.

Similar Messages

  • Delete only the child object and not the parent object

    Hi,
    I have the below code:-
    TAnswer
    @ManyToOne(fetch = FetchType.LAZY)
         @JoinColumn(name = "question_id", nullable = false)
    //     @Cascade(value=CascadeType.ALL)
         public TQuestion getTQuestion() {
              return this.TQuestion;
         }     TQuestion
    @OneToMany(fetch = FetchType.LAZY, mappedBy = "TQuestion", orphanRemoval = true)
         @Cascade(value=CascadeType.ALL)
         /*@Cascade({org.hibernate.annotations.CascadeType.SAVE_UPDATE,
                org.hibernate.annotations.CascadeType.DELETE,
                org.hibernate.annotations.CascadeType.MERGE,
                org.hibernate.annotations.CascadeType.PERSIST,
                org.hibernate.annotations.CascadeType.DELETE_ORPHAN})*/
         public List<TAnswer> getTAnswers() {
              return this.TAnswers;
                   In Java:-
         public void removeAnswers(TQuestion question)
                        throws ApplicationException {
                   List<TAnswer> answerList =  question.getTAnswers();
                   deleteall(answerList);
         public void deleteall(Collection objects) {
                   try {
                        getHibernateTemplate().deleteAll(objects);
                        getHibernateTemplate().flush();
                   } catch (Exception e) {
                        throw new ServerSystemException(ErrorConstants.DATA_LAYER_ERR, e);
         }               Here the "deleteall" will delete both the answer records and question records, I don't want the questions
         records to be deleted. I have tried making the question as null when we set the answer object to be passed for delete
         bit still it is     deleting the question records as well.How to achieve the above in deleting only the answer (child) records
         and not the question(parent) record? Is there any thing we need to do with @Cascade for Question object? Please clarify.
    Thanks.

    What does deleteAll do, it doesn't look like a JPA method. You might want to ask your question on your provider forum, or use straight JPA methods as a simple EntityManager.remove(answer) on each answer in the collection should work.
    Regards,
    Chris

  • Can we lock down the system for BW object and not bex objects

    Hello,
    I have a question about object changeability. We want to lock down the BW production system but leave it open for adhoc query. Can we lock down the BW system only for few objects like Cubes, ODS, Infoobjects, Infosets, Multiproviders, and keep the system open for Bex objects like Query, varaibles and also for Infopackges and DTP's.
    Which tcode can we use for this ?
    Thanks,
    Message was edited by:
            Kiran Mehendale

    hi, usaully production system will be non changeable for all objects.. but as far as SAP BW is concerned we can make certain objects changeable by setting as follows..
    in production go to RSA1 - Transport Connection, select Object changeability button from tool bar, here you will find a list of objects which can be made changeable in a closed system.. just click on required objects and set it to Everything Changeable..
    Reg,
    Pradhiba
    <REMOVED>

  • DTO, Business Objects and architectural layers design

    Hi everybody,
    What would prevent one from using Business objects (properties + getters/setters and bevaviour related to a business entity) thru all tiers of a J2EE Web application ?
    Example : DAO layer populates BO properties, Business layer uses BO behaviour , web layer stores BO in some scope (request,session,...) for view presentation of the BO properties.
    Compared to a DTO/VO (only properties, no behaviour) solution :
    - If the application is distributed the BO solution adds serialization overhead (possibl performance bottlenecks) if BO's are large objects.
    - If there is requirements for clustering , storing large BO's in session adds session replication overhead.
    - BO solution breaks layer isolation , but practically speaking what could be the consequences of it ?
    - Some BO properties need formatting for text deiting by the views and cannot be displayed as is.
    - BO solution is a more OO approach than using only data objects
    What other arguments can you think of ?

    "Session" data applies to the session. Thus when I
    order a book and it is added to my shopping cart the
    session data might be used to store that information.
    But that data in of itself is not a "business
    s object". It is, by definition, session data.Ok conceptually speaking it is session data, but from
    a technical point of view you need an Object instance
    of some sort to hold that data.No actually you don't.
    There are a number of ways to maintain session data. With tradeoffs between each.
    What I was talking about (which does not mean I think
    It is a good idea...) is using the BO properties for
    holding that data and storing the BO instance(s) in
    the session.
    And I still don't see that this is a "Business Object". No more so than a security key is a "Business Object".
    The best term is session data and you might have different groupings (data not behavior) within that.
    Exactly what behavior do you envision?Any computational behaviour that uses the BO
    properties and is needed to implement a use case.
    This behaviour is used to calculate data that is not
    persisted by the DAO as is but rather computed from
    m other persisted data.
    Give me an exact example.
    For example it would be quite reasonable to have a DTO that represents a "rectangle" and that DTO would have a height and width and the DTO would have a method that return the area (multiplying the two data points.)
    Conversely my previous example of the zipcode, the DTO should NOT have a method to validate that the zipcode exists although it could validate that it has the correct form (5/9 digits in the US.)
    The problem is coupling. If the BO needs the
    database layer (see the zipcode example above) then
    the GUI layer is going to need the database layer is
    well. Even though the GUI will never use the
    database layer.I understand that this coupling applies to
    distributed architectures where you package your
    applications in different jars/wars/ears. In this
    case If BO's ared used thru all layers, The GUI
    (web) layer needs the data access layer jars even if
    it will never use it.
    This clearly adds coupling.
    But in the case of a collocated application (a single
    war) it does not change anything.
    No. The point is not how the application is architected.
    The point is that the GUI layer is then dependent on the database layer internals.
    Consider another example, the DTO is produces a formatted xml string using a XML library. Now you need to create the database layer for the system. The database layer does not need the XML at all. And yet just to compile the database layer you are going to have to provide the XML library. This represents coupling that serves no purpose. And although in very small projects it might be convienent in larger projects coupling like that will cause problems and confusion.
    And? Are you suggesting that the BO should do the
    formatting?No I mean that DTO/VO's could have either text
    formatting/editing methods or property types (e.g
    String formatted property for a date) that facilitate
    the work of the presentation layer. And most of the time that is going to be incorrect.
    "Formatting" for a web page is likely to be different than for a printed report. And for a backend system it might need XML which is still a different format. Adding all of that to the DTO is not the way to do it. (In the same way that the database and gui code should not be intermixed.)
    I would not put
    any similar formatting behaviour in the BO. That's
    why I consider this issue while comparing BO and
    DTO's
    - BO solution is a more OO approach than using only
    data objects
    No it isn't.
    An object that prints itself is not more OO than one
    that is printed.
    I thought one of the purpose of OO programming was to
    group behaviour and dataCertainly, but it doesn't mandate that one form of grouping is better than another. After if that was the sole concern then why not have just one object for the entire application - that is one way to "group" it.

  • Transform handles are moving the object and not scaling.

    I've been running into trouble with the transform handles on objects moving the object instead of scaling/stretching the object. It seems to happen on the bottom and right sides vs the top and left sides. When I have the mouse over the handle it shows the scaling icon, but when I press the mouse it turns into the black selection arrow. Is anyone else experiencing this and know how to fix it?

    kjredin,
    I am afraid you have come across the Live Rectangle bug which is limited to the MAC versions starting with 10.7 and 10.8, but not 10.9 (Mavericks) or 10.10 (Yosemite). Hopefully, the bug will be fixed soon.
    So a switch to Mavericks or Yosemite with a reinstallation might be the way to solve it here and now.
    To get round it in each case, it is possible to Expand the Live Rectangles to get normal old fashioned rectangles, or to Pathfinder>Unite, or to use the Scale Tool or the Free Transform Tool.
    A more permanent way round that is to create normal old fashioned rectangles, after running the free script created by Pawel, see this thread with download link:
    https://forums.adobe.com/thread/1587587

  • Loading lib per object and not per class possible?

    Hello, I have a problem with JNI and some libs I want to use.
    On the Java side I have a class called FeedController that uses a class SenderJNI to communicate with a native lib, that implements the interface of SenderJNI. I have several native libs that all have different implementations of the interfaces.
    What I want to do is to load a specific native lib for a specific SenderJNI object. I thought it could work with the following code.
    public class SenderJNI {
         public native void init(String host, int port, String streamname);
         public native void send(String csvString);
         public native void close();
         public SenderJNI(String libName) {
               Runtime.getRuntime().load(libName);
    }The problem I've encountered is, that loading libA.so for SenderJNI object A works fine, but if I want to load libB.so for SenderJNI object B, I still get the implementation of libA.so. So loading seems to be on a class based level.
    Is there any way to load those two libs for different SenderJNI objects?

    This might work.
    Load all three libraries in your SenderJNI. Create three sub classes of your SenderJNI java class. They can just be stubs that dont implement anything.
    Implement the native methods just once between the three libraries.
    In your navtive methods, use IsAssignableFrom to determine which instance of the class was used, and call the proper library function based on the instance type that the call originated from.
    jboolean IsAssignableFrom(JNIEnv *env, jclass clazz1,jclass clazz2);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How can HitTestObject can trigger around the Object and not the rectangle of selection of the object ?

    Hi !
    I am doing a little mini-game but i have a problem with HitTestObject and his hitbox
    Look at those images :
    Here HitTestOject == 1 but it should be i want HitTestOject to react like this :
    This is weird because for me the wall is well cropped, because if i select a space near the rectangle it doesn't trigger it.
    Thanks !

    http://www.mikechambers.com/blog/2009/06/24/using-bitmapdata-hittest-for-collision-detecti on/

  • Code for Custom Business Object and Adding/Updating Data

    Hi,
    I would like to update/insert data thru Custom Business Object to sql Server.Pls let me know is it possible in MSA.If yes I would appreciate if you can share the code/Process in this forum.
    Thanks and Regds
    Harish

    Harish
    Depending on what data you update you need to do the following:
    If updating SAP tables or customer tables which are an extension of a SAP object like business partner, material, activity or similar:
    1. Create the extension of the data object via the easy enhancement workbench (EEWB). This will also create mapping functionality from MSA to CRM Server and extend the BDocs.
    2. Go to the BDoc modeler. Find the sBDoc for data exchange (type Write BDoc), that contains your object and check whether the new segment is there.
    3. In the Mobile Application Studio (MAS) you can now create a custom business object related to the standard sBDoc mentioned in 2 which is mapped to the new segment. This way the data exchange happens together with the main object
    4. Drag & drop the fields of the new BO to a new tile, and link that tile to the existing main object in the UI via the appropriate relation.
    If you would create a new business object / BDoc for a set of attributes belonging to a main object and not use an extension of the existing BDoc then the data would get its own flow and when replicating it would not come together with the main data. This can lead to data inconsistencies and in surplus effort administrating this data.
    If you have your own objects not related to a SAP object, you can do it the following way:
    1. Create your own table(s)
    2. Create a Write sBDoc on the table(s)
    3. Create BO's on each BDoc segment / table
    4. (as above)
    Hope this helps,
    Kai

  • When should unlock the object and when should not ?

    Dear Experts,
    We are looking for some suggestions from your side.
    When we should unlock the object and when we should not with respect to releasing the transport request.
    Like what would be the best practice.
    Thanks in advance.
    With Regards,
    Tejas Dave.

    Hi Tejas,
    When we  are performing an upgrades , No Objects should be locked.
    Gives an Pop to unlock the Objects
    Every Transport Request will moves depends on Requirement . 

  • Copy Multi-Layered Drawing-Object and keep the same Layers

    Good evening
    We often have to clone a Drawing-Object and the clone should use the same Layers. We expected that we can just select the Objects on the related Layers, Drag and keep a key (e.g. Ctrl) and Drop the copy
    An example:
    The original Object has an rectangle and a text on two layers:
    Layer 1: Rectangle (Original)
    Layer 2: Text (Original)
    After cloning, we should have:
    Layer 1: Rectangle (Original) Rectangle (Copy)
    Layer 2: Text (Original) Text (Copy)
    Thanks a lot for all ideas in advance,
    kind regards,
    Thomas

    Thank you for your fast answer!, unfortunately it does not work as expected: after the Copy-Operation I always have more Layers than before. To use my example again:
    The original Object has an rectangle and a text on two layers:
    Layer 1: Rectangle (Original)
    Layer 2: Text (Original)
    Then I select the Rectangle and the Text an copy these Objects.
    I always get:
    Layer 1: Rectangle (Original)
    Layer 2: Text (Original)
    Layer 3: Rectangle (Copy)
    Layer 4: Text (Copy)
    What I expect after copy is:
    Layer 1: Rectangle (Original) Rectangle (Copy)
    Layer 2: Text (Original) Text (Copy)
    Kind regards,
    Thomas

  • As a user of Extract, I would like to have the ability to open/access assets and information contained within smart objects or linked layers. Is this possible?

    Problem:
    In Extract ( Extract for PSD ) a user is unable to access assets or information from smart objects or linked layers.
    Usage:
    Smart Objects/Linked Layers are useful for templated web workflows
    @Sectioning content allows for a holistic view with access to granular information
    Possible Solution(s):
    Could we create a link between to cloud files.
    Could a smart object or linked layer be expanded on upload
    Could we create a drop menu like the layer comps that includes related files

    Hello Martin,
    Our current support in Extract for Smart Objects includes showing them in the file, and using them on the backend when you request your layer(s) to be scaled while exporting (i.e., when scaling up, the highest quality image is used).  We also display the colors, fonts and gradients from the included Smart Objects in the Extract Styles panel.
    We have considered providing a way to open Smart Objects from within Extract, and could use some feedback from you on how this user experience would work best for you. Would you prefer option a) or b) below, and why?
    a) When opening a Smart Object, it opens in the current browser window, replacing your current view of the PSD.
    b) When opening a Smart Object, it opens in a new browser window, which receives focus (is the frontmost browser tab/window).
    Also, if you tried to open a Linked Smart Object when the linked file is not available, what would you expect to happen?
    Would you describe in more detail what you mean by: "Could a smart object or linked layer be expanded on upload?" and how you'd use this feature?
    Regards,
    brucebowman

  • How do I batch-rename objects/paths (not just layers)?

    Question from a complete n00b:
    I need to rename a large number of selected objects/paths. This is because I want to use another script that only works when my objects have the default name, "<Path>". So really, I just need to remove existing names of objects.
    This other script is here:
    http://kelsocartography.com/blog/?p=325
    Of course, I could manually remove names by double-clicking on objects in the layers palette and deleting the name, but that's no fun.
    I've found some great scripts for renaming layers, but nothing for non-layer objects.
    First, I'm trying to remove names from ALL objects in the document.  once that's working, I want to only remove names of selected objects.
    Here's my very simple non-working javascript - (the whole thing):
    app.activeDocument.pageItem.name = "";
    my test Ai file is also really basic: a few rectangles, some of which have been named in the layers palette.
    When I run this, I get:
    Error 21: undefined is not and object.
    Line: 1
    ->     app.activeDocument.pageItem.name = "";
    I've tried a number of other approaches, and either get "undefined is not an object" or nothing happens. 
    pageItem has "name" as a writable property, so I think it's what to use, but I really don't know what I'm doing - help!
    I'd also happy to use actions, but I'm stuck on that too.

    Thanks!!
    Here's my final script:
    ////START SCRIPT////
    //how to use: select objects that you want to rename, then run script
    //note - new name may not display until you unselect objects
    var docRef = activeDocument;
    for (var i=0; i < docRef.pageItems.length; i++)
           if (docRef.pageItems[i].selected == true)
                   docRef.pageItems[i].name = "";
    ////END SCRIPT////
    currently, it renames with no text.  In other words, it removes existing names.
    One thing that was messing me up was that new names are not immediately displayed - you have to unselect your selected objects before names in the layers palette refresh.

  • "cacheHostInfo is null" and Add-SPDistributedCacheServiceInstance : Object reference not set to an instance of an object.

    I am working on a standalone install Sharepoint 2013 (no Active Directory). I found newsfeed feature is not available and checked Distributed Cache service is stopped. When start it “cacheHostInfo is null” is returned.
    I checked the Windows service “AppFabric caching service” is stopped because the default identity “Network Service” not work. Then I change the AppFabric service identity to use “.\administrator” (which is also the sp farm administrator) and the service can
    be started.
    However the “cacheHostInfo is null” when try to start Distributed Cache service in central admin.
    I searched on web and found this blog: http://rakatechblog.wordpress.com/2013/02/04/sharepoint-2013-spdistributedcacheserviceinstance-cachehostinfo-is-null/
    I tried to run the script but it return error:
    Add-SPDistributedCacheServiceInstance : Object reference not set to an
    instance of an object.
    At C:\root\ps\test.ps1:8 char:13
    + $whatever = Add-SPDistributedCacheServiceInstance
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidData: (Microsoft.Share…ServiceInstance:
    SPCmdletAddDist…ServiceInstance) [Add-SPDistributedCacheServiceInstance]
    , NullReferenceException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletAddDistr
    ibutedCacheServiceInstance
    I am not sure what went wrong. Please give me some idea? Thank you for any comment!

    Can you deploy Active Directory as installing without is not a supported installation scenario - http://support.microsoft.com/kb/2764086.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Test-OutlookConnectivity WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.

    Hi All,
    When we do a test-outlookconnectivity -protocol:http the result is a success but then we get the following:
    ClientAccessServer   ServiceEndpoint                               Scenario                           
    Result  Latency
    (MS)
    xxxxxxxxxxxx... xxxxxxxxxxxxxx                 Autodiscover: Web service request.  Success   46.80
    WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance
     of an object.
    Object reference not set to an instance of an object.
        + CategoryInfo          : NotSpecified: (:) [Test-OutlookConnectivity], NullReferenceException
        + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
    So it looks like it's not completing successfully.
    I can't find anything on this in particular, and don't really know how to go about solving it - We are fully up to date, Exchange 2010 Sp2 with Rollup 5-v2
    Any help appreciated!

    hi,
    I have the same issue also on Exchange 2010 SP2 RU5v2
    I ran your command and get the below
    [PS] C:\Installs\report\Activesync>Test-OutlookConnectivity -Protocol:http |FL
    RunspaceId                  : ebd2c626-1634-40ad-a17e-c9a713d1a62b
    ServiceEndpoint             : autodiscover.domain.com
    Id                          : Autodiscover
    ClientAccessServer          : CAS01.domain.com
    Scenario                    : Autodiscover: Web service request.
    ScenarioDescription         :
    PerformanceCounterName      :
    Result                      : Success
    Error                       :
    UserName                    : Gazpromuk.intra\extest_645e41faa55f4
    StartTime                   : 8/21/2013 4:08:50 PM
    Latency                     : 00:00:00.1250048
    EventType                   : Success
    LatencyInMillisecondsString : 125.00
    Identity                    :
    IsValid                     : True
    WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance of an object.
    Object reference not set to an instance of an object.
        + CategoryInfo          : NotSpecified: (:) [Test-OutlookConnectivity], NullReferenceException
        + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
     Any help would be greatly appreciated, I also get random failures of OWA, EAS and web services, very frustrating
    I have no errors in the app event log
    thanks
    Faisal Saleem Windows Systems Analyst 07595781867

  • What's the difference between a not-initialed object and a null object

    hi guys, i wanna know the difference between a not-initialed object and a null object.
    for eg.
    Car c1;
    Car c2 = null;after the 2 lines , 2 Car obj-referance have been created, but no Car obj.
    1.so c2 is not refering to any object, so where do we put the null?in the heap?
    2.as no c2 is not refering to any object, what's the difference between c2 and c1?
    3.and where we store the difference-information?in the heap?

    For local variables you can't have "Car c1;" the compiler will complain.That's not true. It will only complain if you try to use it without initializing it.
    You can have (never used, so compiler doesn't care):
    public void doSomething()
       Car c1;
       System.out.println("Hello");
    }or you can have (definitely initialized, so doesn't have to be initialized where declared):
    public void doSomething(boolean goldClubMember)
       Car c1;
       if (goldClubMember)
           c1 = new Car("Lexus");
       else
           c1 = new Car("Kia");
       System.out.println("You can rent a " + c1.getMake());
    }

Maybe you are looking for