AutoCAD 2013 :: Protect Lisp Functions From Object ARX

Oct 26, 2013

I would like to protect lisp functions from ObjectARX. I am able to protect the functions from LISP command prompt as below.

(pragma '((protect-assign MyFunction)))

I want to do it programmatically using ObjectARX. I have written below code but I am getting error "some other error". 

struct resbuf *cmdlist;
resbuf *rb_out = NULL;
cmdlist = acutBuildList(RTSTR, _T("pragma"),RTSTR, _T("protect-assign"),RTSTR,_T("MyFunction"), 0);
int resval = acedInvoke(cmdlist,&rb_out);
if (RTNORM != resval)
{
acedAlert(_T("Error"));
}
acutRelRb(cmdlist);

View 1 Replies


ADVERTISEMENT

AutoCAD 2013 :: Unable To Password Protect Drawings

Nov 13, 2012

I would like to Password Protect some of my drawings. I have tried several times with no success. When trying to set Password, I don't get a Password Confirmation Screen.

OS: Windows 7 Ultimate (@ home) Windows 7 Pro (@ work)

AutoCAD 2013

Also have the same issue with 2012, and 2008.

View 8 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Toggle Between Two Functions

Nov 21, 2011

I’m having a mental collapse blank today. I'm trying to write a lisp that toggles between two custom lisp/ functions.

just incase, the lisp is to be incorporated into a button...

View 3 Replies View Related

AutoCAD Map 3D :: Data Extension Functions Of Lisp In Map Not Working

Dec 1, 2011

I have just upgraded from Map 2009 to 2012 4-bit and many of my lisp programs using map functions do not work.  Is there an explanation for this and is there a new "catalog" of data extension function and such available somewhere?

View 5 Replies View Related

AutoCAD 2010 :: Edit Lisp File For New Functions

May 1, 2013

add a line to the code you wrote so I could use iunembed or detach the old image in the begin of the lisp command. Iunembed command ask what to name tif after it is unembed. Is there a way to detach the old embed image and run the other parts of the command? Keep in mind I change the lisp little bit.

; Attach Drawingname Image [insert] at scale 12
(defun c:AI12 ()
(defun dxf_ (n L) (cdr (assoc n L)) )
(defun dxf (n L) (cdr (assoc n L)) )

[Code].....

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Get List Of Layout Tabs Without Vla Or Layoutlist Functions?

Mar 6, 2013

okay, I need a way to get a list of layout tabs without vl-, vla-, vlax, or LAYOUTLIST functions. Why?  You ask?

This is for lisp funct that will run in AcCoreConsose. Apparently the console doesn't yet support these.

Also, need a way to check Effective name of dynamic blocks without vl-, vla- or vlax- funs also.

View 1 Replies View Related

AutoCAD 2013 :: Search Bar Functions

Jan 11, 2013

in autocad there is a search bar in the upper right. is there anyway that i can make that search for dwg files? I open up about 70 dwg's a day for work.

View 3 Replies View Related

AutoCAD Inventor :: 2013 Crashes When Using Multiple Functions

Mar 25, 2013

I have been using this software for a few months now, and I continue to have crashing issues. The issues, however related, are not consistent. I tend to have issues when using more complex applications of the software such as crashes when performing a breakout view, freezing and then many times crashing when manipulating a part within an assembly drawing, and several other similar issues. I have received an update SP1.1 (176) and installed it. This update states it contains a fix for issues of crashing due to excessive memory consumption.

I have 6GB of RAM, nVidia Quadro FX 3800 1GB graphics card, Intel Core i7 920 2.66GHz processor, and updated drivers... 

View 9 Replies View Related

AutoCAD 2013 :: 2014 Low Memory And Delay Functions?

Nov 12, 2013

I have CAD2014 installed intalled everything has been great until last week when I got an error that I had low autocad memory.  I still have  127GB available on my PC.  Since I received this errow I have noticed that when moving large amounts of items on a drawing, there is a big delay in the move. 

View 2 Replies View Related

AutoCAD Architecture :: 2013 - Dynamic Block Functions Disappeared

Jun 8, 2012

i just upgraded to 2013 and my dynamc block functions have dissappeared. the ones that flip doors etc.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Possible To Pull Out Coordinates From Object When Object Snap Applied?

Aug 29, 2011

I have a rather simple 3rd party custom object... I tried to get its bounding box but the coordinates that come back don't seem to relate at all to the object.

What I'd like are the coordinates of two nodes the object contains...

Is it possible to apply the autocad cursor in some why with the node object snap to get their coordinates?

View 4 Replies View Related

AutoCAD .NET :: How To Protect Workspace

Sep 7, 2011

I just wanted to know is there any way, not to allow user to change,  workspace or  save workspace in another name.

we have 2 shifts of  drafters in our company who work with one machine. Shift 2 always complain about user on shift one change  panel and ribbons . we have a standard icon and panel , But you know some users have their own way which thinks is the best and always keep changing UI.

So I need to know is there anyway to lock acad.cuix  or  lock workspace.

View 9 Replies View Related

AutoCad :: Protect Drawing With Password?

Apr 9, 2012

I have a drawing for our current project. I wish to share this drawing to other disciplines but shouldn't be modified by others. We can password protect that file, but it will ask password while opening it. I need to protect this file like Excel that "anyone can open it but they can't modified istead of typing password". I need to open and attach as xref it in autocad not in autocad reader (DWS).

View 1 Replies View Related

AutoCAD Inventor :: Protect ILogic Rules From Editing?

Aug 18, 2011

Is it possible to create something like a password or other trick to protect ilogic rules from editing? Ilogic can enforce standards but if any engineer can delete rules or edit them then we have a problem.

View 4 Replies View Related

AutoCAD 2013 :: Prosteel Object Enabler For 2013

Sep 19, 2012

when the Prosteel Object Enabler for AutoCAD 2013 will be available.

View 4 Replies View Related

AutoCAD 2013 :: 2013 Object Enabler For SID File

Mar 20, 2013

Trying to utilize a .sid file within Standard AutoCAD 2013, all suggestions point to an Object Enabler but notice that for 2013 all are for Civil 3D, Plant...

Is there an object enabler for Standard 2013?

View 7 Replies View Related

Photoshop :: How To Protect Images

Aug 12, 2008

I have photo store and I often shoot weddings but I have "problems" with my customers.Thy want to put all pictures on CD Discs to watch the pictures on computer and to make order for enlarging.I resize the picture but they complains about small looking size of the pictures.They complain even if I put almost invisible watermark.I have try with A4 contact sheets but still complains.

how I can put the pictures on CD but somehow to protect them from enlarging on photo paper.Is any program available to protect the pictures from enlarging.For example picture looks fine of computer screen but when it's printed on photo paper watermark to appear, or I ask too much.

View 2 Replies View Related

Illustrator :: Protect Some Area From Changes?

Oct 17, 2012

How to protect some area in the Illustrator from changes? Like Photoshop does.
 
What I mean is: In the Photoshop I can select some area with Selection tool, let's say a rectangle. Then I can edit that area without a risk to harm any pixels outside it. I can apply any filter to it (blur, etc.), I can fill it with some colour or pattern. And the area outside the selection will be unchanged.
 
I can not find any way in the Illustrator to do the same or even a similar thing! I can isolate some object or group. but I can not isolate an area/region.

View 9 Replies View Related

CorelDRAW X4 :: How To Protect Results Of Design

Jul 15, 2012

How to protect the results of our design with corel draw format, so we design can only be opened in Corel and can not in foxes.

View 4 Replies View Related

Photoshop :: How To Protect Graphic Work?

Apr 13, 2001

Say you doing some graphic work for someone and the person would like to see it before they say ok that will work.

Well if they wanted to they could steal the pic so is there a way to protect your work from this happing.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Block Name To VLA-object?

Feb 21, 2013

I need to get VLA-Object from block name.

here there is a code to get block name from VLA-Object:

(vlax-get-property obj (if (vlax-property-available-p obj 'EffectiveName) 'EffectiveName 'Name) )

 but I need the inverse of this code exactly:

blockname(as a string)==>VLA-object

(defun GetVLA_BName (BName).......

so, how can I do it?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Flatten 3d Object To 2d

Mar 15, 2013

I am trying to write a simple (or at least I thought it was) code to flatten a 3d object into a 2d shape.  For some reason after ACAD runs the lisp it recognizes the flatten command but it will not select all.  this is what I have:

(defun c:fl () (command "flatten" "all") ) 

I have even tried the pick first command, to select all then run the flatten command but that still doesn't work. 

View 5 Replies View Related

Photoshop :: Dodging/Burning - Protect Tones

Nov 14, 2008

In PS CS3 I had set up something very useful on my Wacom tablet. I had two buttons mapped to two different actions. They would do the following:

1) Load tool preset for Dodge, 25px soft round, 10%, Highlights

2) Load tool preset for Burn, 25px soft round, 10%, Shadows

With PS CS4 this doesn't work because of the new "Protect Tones" checkbox. If Protect Tones is on, the tool preset will not change from "Highlights" to "Shadows" automatically. It just gets stuck on whatever it was on previously. To make matters worse, Protect Tones turns itself ON every time you switch from Dodge to Burn, even if you've saved a Tone Preset with Protect Tones turned off!

View 1 Replies View Related

Illustrator :: Plugin For V15.0.0 (CS5) To Password Protect A Layer?

Jul 8, 2011

Any new plugin for illustrator that will password protect a layer. The plugin Master Lock only works in Illustrator version 8 and 9.
 
Is there a newer version that works with CS5 ?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Accessing Data From An Object

Jun 19, 2013

How to access the information stored with an AcDbScale object using Visual Lisp.  I can convert the vla-object to an ename and then use association codes to extract the data, but surely there's an easier, more direct alternative.

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Fade Object (block) In And Out

Jun 24, 2012

How to fade an object (block) in and out?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Detecting The Object Name With A Reactor

Dec 9, 2011

i am trying to add a reactor to ddatte command,  would like to know which object was being edited, the ename or object name (ssget "P") does not seem to be the one

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Mirror Object Automatically

Nov 10, 2011

I am looking for a lisp routine which will allow me to mirror an object that I pick automatically.  I don't want to have to pick the two points to set the mirror line.  I just want the point I pick on of the object I select to be the point of the mirror.  If that can't happen, I was wondering if the object could mirror at its insertion point (like if it were a block or a text.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Find Object Associated To A Field

Nov 1, 2011

We use multi-leader objects in our drawings. When the multi-leader and its value are to be replicated throughout the drawing, we create mleaders with fields that show the contents of the first mleader. That way we can update only the value in the first mleader and all of its children will update as well. It works nicely for us.

Here comes one snag. If one of us opens a drawing with which we are not intimately familiar, we don't know which mleader is the parent of which children. There might be fifty parents and four hundred children in a drawing so going through them by hand is a big productivity drain.

What I need to do is write a routine that will let the user select the mleader that includes the field and have the routine highlight and/or zoom to the parent object.

I thought I should be able to find that info in the dxf codes for the mleader, but I am either missing it or it's not there.

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Creating Object Using Entmake

Nov 12, 2013

I am creating a line using entmake, but I need the start and end point to be variable that was already defined  ex.

(entmake '((0 . "LINE")(8 . "FIELD") (10 . line_insert) (11 line_end)))

Command: !line_insert
(29.2813 20.5 0.0)

Command: !line_end
(29.2813 18.5 0.0)

The error I get is

; error: bad DXF group: (10 LINE_INSERT)

What do I do to make it recognize this variable?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Assign Reactor To Object?

Feb 7, 2012

I use the following code to assign a reactor to an object.

Now I noticed that if I close the dwg file after you successfully saved, when I open even if I load the lisp, the reactor does not work.

Another problem: when I use the command "erase" or "explode" the reactor is started twice, why? you can run it at once?

(setq marReactor (vlr-object-reactor (list (vlax-ename->vla-object oggmar)) "TEST" '( (:vlr-erased . reactor_upd) (:vlr-modified . reactor_upd) ) ))

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved