+ Reply to Thread
Page 1 of 7 1 2 3 ... LastLast
Results 1 to 10 of 62
  1. #1
    Full Member
    Using
    AutoCAD 2016
    Join Date
    Sep 2007
    Posts
    88

    Default Creating undeletable object - possible?

    Registered forum members do not see this ad.

    Hello everyone.

    Is it possible to create an undeletable object (line or text) in a dwg? I need something that would serve as "trademark" on DEFPOINTS, in our blocks sent to others.

    Thanks in advance!

  2. #2
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro K4200, 4GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2018
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    46,501

    Default

    This sounds like something that might possibly be doable using Visual LISP but I'm not a programmer so I cannot say with 100% certainty that it can be done. I've read where someone has used Visual LISP to make objects visible or invisible by resetting their visibility property. Perhaps there is a 'lock' property? Someone like Lee Mac might be able to provide you with a more definitive answer.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

    I'm now a full member of the Society for the Promotion of Mediocrity in CAD. Standards? We don't need no stinkin' standards! Take whatever advice I offer and do the opposite.

  3. #3
    Full Member
    Using
    AutoCAD 2016
    Join Date
    Sep 2007
    Posts
    88

    Default

    Thanks, ill contact Lee Mac.
    In meantime, admins, if this thread is in a wrong place, please move it to the right one

  4. #4
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,364

    Default

    How about switching off the Visibility of an Object?

    AFAIK this makes it undetectable
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  5. #5
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2013
    Join Date
    Apr 2008
    Posts
    6,199

    Default

    Quote Originally Posted by Lee Mac View Post
    How about switching off the Visibility of an Object?

    AFAIK this makes it undetectable
    visibility is the only real option.
    however, the little light bulb at the bottom corner will show that something's visibility is 'turned off' and can easily be turned back on.
    especially problematic if these functions are actually utilized by the user.
    with the way C3D styles ignore layers, i use the isolate and hide function at times.

    just a little food for thought.

    .......can an object reactor prevent erasing?

  6. #6
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,364

    Default

    Obviously, if you made a Block Invisible - it would still show up in the Block Editor, so an object would be better.

    The Object would still appear in the drawing database, but would be "un-selectable" by the user (and would only be able to be accessed by other means).
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  7. #7
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,364

    Default

    Quote Originally Posted by alanjt View Post
    however, the little light bulb at the bottom corner will show that something's visibility is 'turned off' and can easily be turned back on.

    Light bulb?
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  8. #8
    Full Member
    Using
    AutoCAD 2016
    Join Date
    Sep 2007
    Posts
    88

    Default

    You're talking about visibility state in block editor?

  9. #9
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2013
    Join Date
    Apr 2008
    Posts
    6,199

    Default

    Quote Originally Posted by Lee Mac View Post
    Light bulb?
    bottom right corner:
    Attached Images

  10. #10
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2013
    Join Date
    Apr 2008
    Posts
    6,199

    Default

    Registered forum members do not see this ad.

    i take it back, it doesn't detect it.
    Code:
    (vla-put-visible (vlax-ename->vla-object (car (entsel))) :vlax-false)
    will do exactly what you want.

Similar Threads

  1. Problem Creating 3D Object
    By JoshK in forum AutoCAD 3D Modelling & Rendering
    Replies: 10
    Last Post: 31st May 2009, 03:22 pm
  2. Creating Elevations from a 3D Object
    By nbramm8218 in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 18th Apr 2008, 04:09 pm
  3. undeletable dwg file
    By spanielman in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 6th Dec 2007, 01:37 pm
  4. creating a 3D object from 2D?
    By ash87 in forum AutoCAD General
    Replies: 22
    Last Post: 9th Nov 2007, 06:57 pm
  5. Unused, Uninvited undeletable layers
    By tobywilson in forum AutoCAD Beginners' Area
    Replies: 10
    Last Post: 5th Nov 2007, 05:17 pm

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts