Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Remove Dragdrop

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
365 Views, 6 Replies

Remove Dragdrop

When I select an object I can click any part of that object and move it with no move command active. This is extremely problematic with as much lag as their is in cad. There needs to be a way to disable this without have to remove any other features.

6 REPLIES 6
Message 2 of 7
Civil3DReminders_com
in reply to: Anonymous

Does turning off this option not meet your needs? 

9-29-2016 11-19-28 AM.png

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni
Message 3 of 7
Anonymous
in reply to: Civil3DReminders_com

thanks for responding

 

I'm afraid that does not fix the issues. the only option I've found that disables it is to disable noun/verb selections. that is about like amputating the arm to treat treat a broke finger but the fact that it works tells me this is something that can be find through cad and not a windows issue.

 

Message 4 of 7
MikeEvansUK
in reply to: Anonymous

I have had problems with drag drop & pipe network structures detaching from all pipes (see other post in this forum).

 

Here's how I solved it with help from Augusto G. You have to use the API and create a DLL to load. This one runs in the background once loaded & run.

 

You'll need to add an overrule for all object types you require or add everything another way. The problem wasn't dragmode but deepclone & WblockClone in my case. For you you could just prevent the Dragmode or DragDrop? I can't remember the internal command calls the program made during drag drop. The other post may help further.

 

 

using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Runtime;
using Autodesk.Civil.DatabaseServices;

public class ObjOverrule : ObjectOverrule
{
    static ObjOverrule objRule = null;
    public override Autodesk.AutoCAD.DatabaseServices.DBObject WblockClone(Autodesk.AutoCAD.DatabaseServices.DBObject dbObject,

             RXObject ownerObject, IdMapping idMap, bool isPrimary)
    {
        
        return null;

        //return base.WblockClone(dbObject,

        //ownerObject, idMap, isPrimary);

    }



    public override Autodesk.AutoCAD.DatabaseServices.DBObject DeepClone(Autodesk.AutoCAD.DatabaseServices.DBObject dbObject,

                Autodesk.AutoCAD.DatabaseServices.DBObject ownerObject, IdMapping idMap, bool isPrimary)
    {

        return null;

        //return base.DeepClone(dbObject,

        //ownerObject, idMap, isPrimary);

    }



    [CommandMethod("MeccCopyOverrule")]

    static public void copyOverrule()
    {
        if (objRule == null)
        {

            objRule = new ObjOverrule();



            Overrule.AddOverrule(RXObject.GetClass(typeof(Structure)),

                                                   objRule, true);

            Overrule.Overruling = true;

        }

        else
        {

            Overrule.Overruling = false;

            Overrule.RemoveOverrule(RXObject.GetClass(typeof(Structure)),

                                                         objRule);

            objRule.Dispose();

            objRule = null;

        }

    }
}

 

 

Mike Evans

Civil3D 2022 English
Windows 7 Professional 64-bit
Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz (8 CPUs), ~4.0GHz With 32768MB RAM, AMD FirePro V4900, Dedicated Memory: 984 MB, Shared Memory: 814 MB

Message 5 of 7
Anonymous
in reply to: MikeEvansUK

Thanks for responding, I have checked all of the internal command and
nothing comes up. I don't want to have to create a code string to fix this
issue because it would be a lot of effort to do so when it would be the
only use for it and would need to be redone with every update.
maybe dragdrop is not the right problem. what happens is when an object of
any type is selected the object can be grabbed from anywhere on the object
and moved while clicked and is released as soon as the mouse click is
ended.
I am trying to get my company to remove some of our cad license for other
software with better support on these issues. Autocad just doesn't seem
worth the money for what a surveyor uses it for.
Message 6 of 7
rrain62
in reply to: Anonymous

The dreaded Dropgeom, I haven't found a way to disable it yet either. Let me know if you do.

Message 7 of 7
Anonymous
in reply to: rrain62

I found this thread
http://forums.autodesk.com/t5/objectarx/disabling-dropgeom/td-p/6474732.
the solution lies within. Im so happy

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report