Removing small objects in drawing

Hello,
I have a quastion regarding the removal of small objects in a drawing. I made with ArcGIS a map of the Netherlands. Because it is a detailed map, it also becomes heavy and my computer slows down. I merged some smll elements together with the pathfinder-unite command, but it is still to heavy. So I have to delete some other elements. The problem is that I want to get rid of all the small objects, but I dont know how to select them. Has Anybody an idea, to select objects by seize? It is a topograpic map with for example houses, lamp post et cetera, but I actuallly need only the build areas.
best, Roger

Here's one. Copy and paste into a text editor. Save as plain text with a jsx extension in the Adobe Illustrator CSX/Presets/en_US/Scripts folder and restart AI. Have a document open. It may take some time to run.
#target illustrator
// deletes pathItems smaller than the supplied length
var idoc = app.activeDocument;
var howLong = prompt ("Enter the size in points of small paths to be deleted", 2, "Delete Small Paths");
for (i=0 ; i< idoc.pathItems.length; i++)
          var ipath = idoc.pathItems[i]
               if ( ipath.width < howLong && ipath.height < howLong)
                         ipath.selected = true;
app.redraw();
if(confirm ("Proceed to delete selected items?", "yes", "Confirm Delete"))
          app.cut();

Similar Messages

  • Drawing small objects?

    I'd like to be able to draw a disk of 2 mm diameter quickly.
    I'm working on MacOS X 10.4.11, and in my environment,
    the decimal separation character is the ",". Hence, for example,
    2 and a half inch is written 2,5".
    I proceeded as follow:
    • open Pages'08 (version 3.0.2) which will open a blank page;
    • select Shapes > disk (from the Toolbar) which will drop a green disk of 3,53 cm x 3,53 cm;
    • select the down right handle of this disk with the shift key pressed;
    • move this handle upside left to reach the desired value: 0.2 cm.
    First problem:
    I can't reach the 0,2 cm value.
    I'm able to reach 0,21 cm and 0,18 cm.
    Second problem:
    I opened the Inspector > Metrics
    I tried to type 0,2 cm in the Width field, but the only result was the
    bong! from the speaker.
    I tried to type 0.2 cm ("." in place of ","), but the field value was replaced with 2 cm, and the disk resized to 2 cm.
    Did I do something wrong?
    I have the exact same problem with all the small objects I want to create.
    I simply can't draw them quickly.
    I found a workaround: enter the Inspector > Metrics, *for each object*,
    enter a size of 1,2 cm in the Width field, and then decrease it with
    the scroll button on the right of the field, which does set it to
    0,2 cm. I feel like trying to hunt flies with a hammer.
    What is the direct and efficient method?
    <pre>--------
    don't look for my Macs models in my signature, this would be uggly... and irrelevant
    dan</pre>

    Jerrold Green1 wrote:
    Daniel,
    What you would like to do works well in my version of Pages and my language setting (US English).
    Thank you for your different viewpoint. I tried to set my international settings (International > Input) to United states, and the second problem
    disappeared. But the first one is still a serious problem biting me many times
    per hour (I do a lot of graphics for technical documentation).
    Until you find the answer to your difficulty with direct entry of the decimal character, you may find some convenience in creating an otherwise blank document to leave open on your desktop with the little circle in it. Then just Copy/Paste whenever you need it in your working document.
    That's pretty much like the workaround I found. Once I have done one of my graphics, I try
    to limit myself to copy and paste of the same one inside the same document
    to avoid an unaffordable waste of time. Nonetheless, this method is a limit of
    use of graphics and a huge waste of time.
    <pre>--------
    don't look for my Macs models in my signature, this would be uggly... and irrelevant
    dan</pre>

  • How do i remove an Object (aliens/ bullets) from my Space Invaders game??

    Creating Space Invaders game and im getting confused on removing objects from my game. How do you actually remove an object (i.e bullets and aliens).
    I know this isnt the right way to do it, but for the bullets i had an array of the Objects bullets[] and set the x and y coordinates off screen so u cant see then wen they are painted you cant see them, then wen the player fires them, the x and y coordinates change so they come from the players ship till it hits an alien or goes off screen, then i reset the coordinates so they are pasted off screen again. Im relatively new to this so i would appreciate any help. Im going to have to do the same with aliens wen a collision is detected. Is there a way of actually removing an object?
    Here is sum code incase you need to see it:
    public void checkCollision()
              Rectangle playerRec = new Rectangle(player1.getBoundingBox());
              for(int i=0; i<alienRow; i++)
                   for(int j=0; j<alienCol; j++){
                        if(playerRec.intersects(aliens[i][j].getBoundingBox()))
                             collisionDetected();
                        for(int k=0; k<bulletNum; k++){
                             Rectangle bulletRec = new Rectangle(bullets[k].getBoundingBox());
                             if(bulletRec.intersects(aliens[i][j].getBoundingBox()))
                                  removeBullet(bullets[k]);
                                  collisionDetected();
         public static void collisionDetected()
              System.out.println("COLLISION");
    private void removeBullet(Bullets bullet){
              bullet.fired=false;
              bullet.setX(-10);
              bullet.setY(-10);
         }Edited by: deathwings on Nov 25, 2009 8:20 AM

    deathwings wrote:
    I was thinking bout that arraylist angle before, but it makes sense now so i think that will work ok. Thx kevin.Not a problem.
    Taking the List idea one step further, you could have a parent Object/Interface that all of your game objects extend/implement. Let's call it GameObject.
    A GameObject would have a draw(Graphics g) function that you call from your paintComponent( ) method, and for example an act( ) function as well.
    You'd have a single List of GameObjects that you add everything in your game into. Now painting is simply a matter of looping over a single List. And in your game logic loop, you could do a similar thing with the act( ) function: your bullet's act( ) would simply move it forward and check for collisions and going off screen. An alien's act( ) function would move it around and maybe shoot a weapon every so often.
    Just an idea.

  • Need to control rendering resolution when removing overlapping objects in Acrobat X Pro

    When removing hidden information from a PDF using the Acrobat X Pro function Tools | Protection | Remove Hidden Information or Tools | Protection | Sanitize Document, Acrobat appears to remove overlapping objects by rendering the entire page into an image at, from what I can tell, 144 dpi. This resolution is too low for my purposes as small text becomes hard to read both on screen and when printed. Is there a way to control the rendering resolution?

    What I was refering to by flattening is the "flatten image" function in Photoshop. As in the option directly below merge visable and merge down in the layers flyout menu. For some reason running that function or the rasterize function in the object menu in illustrator is the only way I can make sure transparecny boxs dont show up when I print through my Fiery Rip software. Like I mentioned this method works well with individual pages in multiple page pdfs, but I often have to do this for many images at a time. It would be nice to be able to do the same thing in Acrobat to the whole pdf all  at one time.( Of course what would really be nice would be if people would submitt their files correctly to avoid this problem in the first place but that is asking way to much) 

  • How do you remove an object from a picture.  Newbie to program CS6

    how do you remove an object from a picture.  Newbie to program CS6

    Well, generally you can use the clone-stamp tool for one, shortcut is S. It basically allows you to take data from any part of the image and copy that over. What I do is draw on a new layer above the one to modify- make sure you select Sample:"This layer and below" in the top toolbar when doing so. Other ways include blending something on top of the object too, using different blending modes. Painting over it works too at times (rarely). It'd be easier if we knew a specific case though...

  • How to remove an object from Buffer Cache

    Hi,
    I have a simple question. How can I remove an object from the Buffer Cache in Oracle 10gR2 ?
    I am doing some tuning tasks in a shared development database, so I can't do "alter system flush shared_pool" because it will affect other people who are running their queries. So I want to remove from Buffer Cache only the objects that I know that I am the only reader. I can see the objects that I want to be removed by querying the V$BH view.
    By the way, I did some "alter system flush shared_pool" and my objects were not removed from the Buffer Cache, and they are not in the "Keep".
    Thanks In Advance,
    Christiano

    Further more, you can use CACHE | NOCACHE on table level to indicate how you want Oracle handle the data blocks of said table.
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_7002.htm#i2215507
    CACHE | NOCACHE | CACHE READS
    Use the CACHE clauses to indicate how Oracle Database should store blocks in the buffer cache. If you specify neither CACHE nor NOCACHE, then:
    In a CREATE TABLE statement, NOCACHE is the default
    In an ALTER TABLE statement, the existing value is not changed.
    CACHE For data that is accessed frequently, this clause indicates that the blocks retrieved for this table are placed at the most recently used end of the least recently used (LRU) list in the buffer cache when a full table scan is performed. This attribute is useful for small lookup tables.
    As a parameter in the LOB_storage_clause, CACHE specifies that the database places LOB data values in the buffer cache for faster access.
    Restriction on CACHE You cannot specify CACHE for an index-organized table. However, index-organized tables implicitly provide CACHE behavior.
    NOCACHE For data that is not accessed frequently, this clause indicates that the blocks retrieved for this table are placed at the least recently used end of the LRU list in the buffer cache when a full table scan is performed. NOCACHE is the default for LOB storage.
    As a parameter in the LOB_storage_clause, NOCACHE specifies that the LOB value either is not brought into the buffer cache or is brought into the buffer cache and placed at the least recently used end of the LRU list. The latter is the default behavior.
    Restriction on NOCACHE You cannot specify NOCACHE for an index-organized table.
    CACHE READS CACHE READS applies only to LOB storage. It specifies that LOB values are brought into the buffer cache only during read operations but not during write operations.

  • ArrayList problem ....i can remove my object from my arrayList

    hi all, i am going to remove a object from my array by using arrayList.However, it can`t work properly and did nth for me..i don`t know why...could anyone give me some suggestion and show me what i did wrong on my code ....i stated more detail next to my code...plesae help...
    public class MusicCd
         private String musicCdsTitle;
            private int yearOfRelease;
         public MusicCd()
              musicCdsTitle = "";
              yearOfRelease = 1900;
         public MusicCd(String newMusicCdsTitle)
              musicCdsTitle = newMusicCdsTitle;
              //yearOfRelease = newYearOfRelease;
         public MusicCd(String newMusicCdsTitle, int newYearOfRelease)
              musicCdsTitle = newMusicCdsTitle;
              yearOfRelease = newYearOfRelease;
         public String getTitle()
              return musicCdsTitle;
         public int getYearOfRelease()
              return yearOfRelease;
         public void setTitle(String newMusicCdsTitle)
              musicCdsTitle = newMusicCdsTitle;
         public void setYearOfRelease(int newYearOfRelease)
              yearOfRelease = newYearOfRelease;
         public boolean equalsName(MusicCd otherCd)
              if(otherCd == null)
                   return false;
              else
                   return (musicCdsTitle.equals(otherCd.musicCdsTitle));
         public String toString()
              return("Music Cd`s Title: " + musicCdsTitle + "\t"
                     + "Year of release: " + yearOfRelease + "\t");
    import java.util.ArrayList;
    import java.io.*;
    public class MusicCdStore
       ArrayList<MusicCd> MusicCdList;
       public void insertCd()
            MusicCdList = new ArrayList<MusicCd>( ); 
            readOperation theRo = new readOperation();
            MusicCd theCd;
            int muiseCdsYearOfRelease;
            String muiseCdsTitle;
              while(true)
                    String continueInsertCd = "Y";
                   do
                        muiseCdsTitle = theRo.readString("Please enter your CD`s title : ");
                        muiseCdsYearOfRelease = theRo.readInt("Please enter your CD`s year of release : ");
                        MusicCdList.add(new MusicCd(muiseCdsTitle, muiseCdsYearOfRelease));
                        MusicCdList.trimToSize();
                        continueInsertCd = theRo.readString("Do you have another Cd ? (Y/N) : ");
                   }while(continueInsertCd.equals("Y") || continueInsertCd.equals("y") );
                   if(continueInsertCd.equals("N") || continueInsertCd.equals("n"));
                                                    //MusicCdList.add(new MusicCd(muiseCdsTitle, muiseCdsYearOfRelease));                              
                                  break;
                      //System.out.println("You `ve an invalid input " + continueInsertCd + " Please enter (Y/N) only!!");
       public void displayAllCd()
                    System.out.println("\nOur CD collection is: \n" );
              System.out.println(toString());
       public String toString( )
            String result= " ";
            for( MusicCd tempCd : MusicCdList)
                 result += tempCd.toString() + "\n";
            return result;
       public void searchingMusicCd()
            readOperation theRo = new readOperation();
            String keyword = theRo.readString("Enter a CD `s Title you are going to search : ") ;
            ArrayList<MusicCd> results = searchForTitle(keyword );
              System.out.println("The search results for " + keyword + " are:" );
              for(MusicCd tempCd : results)
                   System.out.println( tempCd.toString() );
       //encapsulate the A
       public void removeCd()
            readOperation theRo = new readOperation();
            String keyword = theRo.readString("Please enter CD `s title you are going to remove : ") ;
            ArrayList<MusicCd> removeMusicCdResult = new ArrayList<MusicCd>();
                  System.out.println("The CD that you just removed  is " + keyword );
              for(MusicCd tempCd : removeMusicCdResult)
                   System.out.println( tempCd.toString() );
       //problem occurs here : i am so confused of how to remove the exactly stuff from my arrayList
       //pls help
       private ArrayList<MusicCd> removeCdForTitle(String removeCdsTitle)
             MusicCd tempMusicCd = new MusicCd();
             tempMusicCd.setTitle(removeCdsTitle);
            // tempMusicCd.setTitle(removeCdsTitle);
            //tempMusicCd.getTitle() = removeCdsTitle;
            ArrayList<MusicCd> removeMusicCdResult = new ArrayList<MusicCd>();
            for(MusicCd currentMusicCd : MusicCdList)
                 if((currentMusicCd.getTitle()).equals(tempMusicCd.getTitle()))
                     // removeMusicCdResult.remove(currentMusicCd);
                         MusicCdList.remove(currentMusicCd);
            removeMusicCdResult.trimToSize();
            return removeMusicCdResult;
       private ArrayList<MusicCd> searchForTitle(String searchString)
            ArrayList<MusicCd> searchResult = new ArrayList<MusicCd>();
            for(MusicCd currentMusicCd : MusicCdList)
                 if((currentMusicCd.getTitle()).indexOf(searchString) != -1)
                      searchResult.add(currentMusicCd);
            searchResult.trimToSize();
            return searchResult;
    import java.util.*;
    public class MusicCdStoreEngine{
         public static void main(String[] args)
              MusicCdStore mcs = new MusicCdStore( );
              mcs.insertCd();
              //display the Cd that you just insert
              mcs.displayAllCd();
              mcs.removeCd();
              mcs.displayAllCd();
              mcs.searchingMusicCd();
    //Acutally result
    //Please enter your CD`s title : ivan
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : y
    //Please enter your CD`s title : hero
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : n
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Please enter CD `s title you are going to remove : hero
    //The CD that you just removed  is hero
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Enter a CD `s Title you are going to search : hero
    //The search results for hero are:
    //Music Cd`s Title: hero     Year of release: 1992
    //>Exit code: 0
    //Expected result
    //Please enter your CD`s title : ivan
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : y
    //Please enter your CD`s title : hero
    //Please enter your CD`s year of release : 1992
    //Do you have another Cd ? (Y/N) : n
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992     
    //Please enter CD `s title you are going to remove : hero
    //The CD that you just removed  is hero
    //Our CD collection is:
    // Music Cd`s Title: ivan     Year of release: 1992
    //Music Cd`s Title: hero     Year of release: 1992<<-- it is not supposed to display cos i have deleted it from from array     
    //Enter a CD `s Title you are going to search : hero
    //The search results for hero are:
    //Music Cd`s Title: hero     Year of release: 1992<<-- i should have get this reuslt...cos it is already delete from my array
    //>Exit code: 0
    import java.util.*;
    public class readOperation{
         public String readString(String userInstruction)
              String aString = null;
              try
                         Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   aString = scan.nextLine();
              catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aString;
         public char readTheFirstChar(String userInstruction)
              char aChar = ' ';
              String strSelection = null;
              try
                   //char charSelection;
                         Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   strSelection = scan.next();
                   aChar =  strSelection.charAt(0);
              catch (NoSuchElementException e)
                   //if no line was found
                   System.out.println("\nNoSuchElementException error occurred (no line was found) " + e);
              catch (IllegalStateException e)
                   // if this scanner is closed
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aChar;
         public int readInt(String userInstruction) {
              int aInt = 0;
              try {
                   Scanner scan = new Scanner(System.in);
                   System.out.print(userInstruction);
                   aInt = scan.nextInt();
              } catch (InputMismatchException e) {
                   System.out.println("\nInputMismatchException error occurred (the next token does not match the Integer regular expression, or is out of range) " + e);
              } catch (NoSuchElementException e) {
                   System.out.println("\nNoSuchElementException error occurred (input is exhausted)" + e);
              } catch (IllegalStateException e) {
                   System.out.println("\nIllegalStateException error occurred (scanner is closed)" + e);
              return aInt;
    }

    //problem occurs hereI'm not sure that the problem does occur within the
    removeCdForTitle() method.
    Your main() method calls removeCd() which obtains the title of
    the CD to be removed (keyword). But remoceCd() never
    calls removeCdForTitle(), so nothing is ever removed.

  • Undable to drop tablespace ORA-01561: failed to remove all objects in the

    hi,
    i am unable to drop table tablespace how can i do that??
    please advise
    DROP TABLESPACE tbs_tp2 INCLUDING CONTENTS AND datafiles
    ERROR at line 1:
    ORA-01561: failed to remove all objects in the tablespace specified
    Thanks in advance
    siva
    chennai

    Have you tried dropping the objects individually? You can see which objects still belong to this tablespace by using the DBA_SEGMENTS view as shown below:
    SELECT OWNER, SEGMENT_NAME, SEGMENT_TYPE, TABLESPACE_NAME
    FROM DBA_SEGMENTS
    WHERE TABLESPACE_NAME=tbs_tp2;HTH!

  • Acrobat 9.0 freezes while "Removing unused objects"

    I am using Acrobat Pro 9.0 in a Windows 8.1 environment.  When I attempt to convert a PDF I created to a Form the program freezes once I click SAVE and "Removing unused objects" appears.  I have "repaired" and "reinstalled" the application but the problem persists.

    Hi Mike,
    I do have some startup items;
    EyeTV Helper
    AdobeResourcesSynchroni
    I Love Stars
    GrowlHelperApp
    NikePlusUtil
    EEvent Manager
    EPSON Scanner Monitor
    I don't have any haxies on anything.
    I made a new user account and tried to replicate the problem but it seems to work fine when logged in as a different user which leads me to think it is a preference in my current user>library
    Ross

  • Acrobat 6 - Save As - Removing Unused Objects

    When using the "Save As" feature to save from a mapped network drive to the personal drive, documents that are created from a scanned image take a long time to save, and on the progress bar show the message "Removing Unused Objects".  My client is using Acrobat Standard 6, and I am unable to find any type of "PDF Optimizer" as the later versions have.  Is there any way to remove this background processing that Adobe is doing and speed up the network saving?
    Thanks,
    edgetech1

    Is there anyone out there who can offer some insight into this?

  • Remove supporting object in Deinstallation Script

    Hello.
    I want to define a deinstallation script for my application. It should remove all created database objects and the supporting objects.
    I can remove the database objects with SQL statements. But what is the command to remove supporting objects?
    Maybe you can give me an example to remove an icon called delete.gif. (I think static items and images are handled in the same way, aren't they?)
    Thank you very much.
    Stephan

    begin
    wwv_flow_api.create_or_remove_file(
    p_location => 'WORKSPACE',
    p_name => 'image.gif',
    p_mode => 'REMOVE',
    p_type => 'STATIC');
    end;

  • How do I do to add and remove Shape3D objects dynamically from TransfGroup?

    Hi, everyone,
    How do I do to add and remove Shape3D objects dynamically from TransformGroup?
    I have added two Shape3D objects in the TransformGroup and I wanted to remove one of it to add another. But, the following exception occurs when I try to use �removeChild� :
    �Exception in thread "AWT-EventQueue-0" javax.media.j3d.RestrictedAccessException: Group: only a BranchGroup node may be removed at javax.media.j3d.Group.removeChild(Group.java:345)�.
    Why can I add Shape3D objects and I can�t remove them? Do I need to add Shape3D object in the BranchGroup and work only with the BranchGroup? If I do, I think this isn�t a good solution for the scene graph, because for each Shape3D object I will always have to use an associated BranchGroup.
    Below, following the code:
    // The constructor �
    Shape3D shapeA = new Shape3D(geometry, appearance);
    shapeA.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeA.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeA.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeA.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    Shape3D shapeB = new Shape3D(geometry, appearance);
    shapeB.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeB.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeB.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeB.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    BranchGroup bg = new BranchGroup();
    bg.setCapability(ALLOW_CHILDREN_READ);
    bg.setCapability(ALLOW_CHILDREN_WRITE);
    bg.setCapability(ALLOW_CHILDREN_EXTEND);
    TransformGroup tg = new TransformGroup();
    tg.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    tg.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    tg.setCapability(TransformGroup.ALLOW_CHILDREN_READ);
    tg.setCapability(TransformGroup.ALLOW_CHILDREN_WRITE);
    bg.addChild(tg);
    tg.addChild(shapeA);
    tg.addChild(shapeB);
    // The method that removes the shapeB and adds a new shapeC �
    Shape3D shapeC = new Shape3D(geometry, appearance);
    shapeC.setCapability(Shape3D.ALLOW_GEOMETRY_READ);
    shapeC.setCapability(Shape3D.ALLOW_GEOMETRY_WRITE);
    shapeC.setCapability(Shape3D.ALLOW_APPEARANCE_READ);
    shapeC.setCapability(Shape3D.ALLOW_APPEARANCE_WRITE);
    tg.removeChild(shapeB);
    tg.addChild(shapeC);Thanks a lot.
    aads

    �Exception in thread "AWT-EventQueue-0"
    javax.media.j3d.RestrictedAccessException: Group:
    only a BranchGroup node may be removed I would think that this would give you your answer -
    Put a branch group between the transform and the shape. Then it can be removed.
    Another thing you could try: This doesn't actually remove the shape, but at least causes it to hide. If you set the capabilities, I think you can write the appearance of the shapes. So, when you want to remove one of them, write an invisible appearance to it.

  • How to remove an object from session with JSF 2.0 + Faceletes

    hi all,
    I have a facelets page which calls a backing bean of session scope. Now when ever i click on this page i want the existing bean object to be removed from the session . In my existing jsp i have a logic something like this to remove the object from session
         <% if (request.getParameter("newid") != null) {
              request.getSession().removeAttribute("manageuserscontroller");
    %>
    Now i have to refactor my jsp to use facelets and i should not be using scriplets anymore . I did try with JSTL but the <c:remove> tag is not supported by facelets.
    Can someone help me how can i refactor this code to work for my facelets?
    I really appreciate your help in advance
    Thank you

    r035198x wrote:
    Redesign things so that the remove is done in a backing bean method rather than in a view page.Exactly that. I tend to cleanup session variables at the start and at the end of a page flow; generally the end is some sort of save or cancel action being invoked through a button but that is application specific.

  • Near clipping plane cuts small objects

    Small objects loaded into Acrobat3D are hidden behind view near clipping plane.
    The 3D annotation rendering in Acrobat3D, Acrobat Pro and Adobe Reader at versions 7.0.9, 8.1, 8.1.1, all show that the near clipping plane is set so that small objects may not be correctly rendered.
    If the extent of an object is less than approximatly 0.001, it is likely to be hidden behind the front (near) clipping plane in the 3D viewport. It appears that specification of the near clipping plane numerical value which may be present in the U3D data structures are ignored, and a fixed near clip value is used.
    A further sympton of this is that when the bounding box size of an object is below 0.001 in each of X,Y,Z, The bounds reported in the Part Tree panel shows zero, as values are only printed at 2 decimal digits of precision.
    I would like to have near clip value be controllable from U3D 3D annotations, appropriate for small objects.
    Platform:
    Acrobat3D 8.1, Windows XP 32-bit
    Test Case:
    Take sample object (below) as ASCII VRML files (.wrl) with small
    coordinate values.
    Load into Acrobat3D. The object is invisible, hidden behind view near clip plane. Then sweep the right mouse slowly downwards 3 or 4 times, to "zoom out". At some point the small object will appear in the center of the window, as it is revealed on the other side of the near clip plane.
    #VRML V2.0 utf8
    Viewpoint { description "Initial view" position 0 0 9 }
    NavigationInfo { type "EXAMINE" }
    #  A tetrahedron, with 4 vertices and 4 faces and a color at each vertex.
    Transform {
      translation 1.5 -1.5 0.0
      children Shape {
        appearance DEF A Appearance { material Material { } }
        geometry IndexedFaceSet {
          coord Coordinate {
            point [
               1.0e-5  1.0e-5  1.0e-5,
               1.0e-5 -1.0e-5 -1.0e-5,
              -1.0e-5  1.0e-5 -1.0e-5,
              -1.0e-5 -1.0e-5  1.0e-5,
          coordIndex [
            3, 2, 1, -1,
            2, 3, 0, -1,
            1, 0, 3, -1,
            0, 1, 2, -1,
          color Color {
            color [
              0.0 1.0 0.0,
              1.0 1.0 1.0,
              0.0 0.0 1.0,
              1.0 0.0 0.0
          colorPerVertex TRUE

    IanC,
    Have you tried using Javascript to set the clipping plane? Here's a hunk of code to set it and then move it with the Keyboard x,y,z or Shift+ x,y,z. Let me know if this helps...
    //code snippet ================================
    clippingPlane = scene.createClippingPlane();
    //create vectors
    xDir = new Vector3(3, 0, 0);
    yDir = new Vector3(0, 3, 0);
    zDir = new Vector3(0, 0, 3);
    nxDir = new Vector3(-3, 0, 0);
    nyDir = new Vector3(0, -3, 0);
    nzDir = new Vector3(0, 0, -3);
    //transform clippingPlane
    myKeyHandler = new KeyEventHandler();
    myKeyHandler.onEvent = function(event)
    if (event.characterCode == 120) //x
    clippingPlane.transform.translateInPlace(xDir);
    console.println("move x+");
    else if (event.characterCode == 121) //y
    clippingPlane.transform.translateInPlace(yDir);
    console.println("move y+");
    else if (event.characterCode == 122) //z
    clippingPlane.transform.translateInPlace(zDir);
    console.println("move z+");
    else if (event.characterCode == 88) //shift + x
    clippingPlane.transform.translateInPlace(nxDir);
    console.println("move x-");
    else if (event.characterCode == 89) //shift + y
    clippingPlane.transform.translateInPlace(nyDir);
    console.println("move y-");
    else if (event.characterCode == 90) //shift + z
    clippingPlane.transform.translateInPlace(nzDir);
    console.println("move z-");
    else if (event.characterCode == 114) //r
    clippingPlane.transform.rotateAboutYInPlace(Math.PI / 30);
    //register and process
    runtime.addEventHandler(myKeyHandler);

  • How to remove the Object from memory.

    Hello.
    Flash file that i made with Flex Builder uses memory too
    much.
    Look at the next example source code.
    var testCan:Canvas = new Canvas();
    this.addChild(testCan);
    this.removeChild(testCan);
    testCan = null;
    but just memory usage still goes up, is not freed instantly.
    so if i load the large flash files on my web browser,
    after 5 munites or something, the web browser is down.
    How to remove the object from memory immediately without
    delay?

    It's all about the Garbage Collector ..
    There is a nice write up here :
    http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html

Maybe you are looking for

  • Restoring Preferences & Settings after Lion Re-Install

    For reasons I regret I decided to re-install Lion, thinking that it might resolve a problem I was having with mail. It was interesting to go through the new process, using the Lion partition set aside on your hard drive... since there are no longer a

  • RMAN (DP6.0) backup failure on Oracle10g

    Hello, I am using DP6.0 with Oracle10g environment for backup. While I was able to successfully able to allocate the channels I am getting the below error message stack when the backup script is executed. Thanks RMAN> CONNECT TARGET * 2> run { 3> all

  • Help needed exporting from Lightroom 4 to Photoshop CS6

    I'm running LR 4.4 and Photoshop CS6 on an iMAC and I'm having issues with the edit in photoshop option.  Used to be able to right click and image, go to Edit In and choose Photoshop CS6 and Photoshop would open and the image would open.  I could the

  • Adobe bridge Eps Dateien verschlagworten

    Hallo Leute, hoffe von euch kann mir jemand weiterhelfen. Ich arbeite mit Bridge CS5 und habe bis jetzt immer Bilder mit Metadaten versehen, verschlagwortet, Copyright und Beschreibung angegeben etc. Nur bei EPS Dateien will er das nicht machen. Da k

  • Aperture Slideshow Problem

    Hi, I've made numerous slideshows from video clips and for soem reason, I'm having a problem with some of the clips only playing for a few seconds, then screen freezes until next clip starts and stops after a few seconds also. The music keeps playing