AutoCAD .NET :: Ribbon Freezes With Custom WPF Objects?

Feb 21, 2013

I've been developing a way for our drafters to properly use a layer scheme. I implemented this by using a background database defined in Excel and loading this on startup. The interface is provided by custom ribbon elements as described in Fenton Webb's "UI Design featuring WPF" (autodesk university, 2009).

The ribbon contains the following custom elements:

- two series of radioboxes which are stripped of the default WPF multithreading

- a dropdown which monitors and manipulates LTSCALE

- a dropdown which selects values from the background database. 

- a UserControl which displays information from the background database about the current layer

All this has worked fine on multiple (about eight) computers with AutoCAD 2010 and 2012, vanilla and Map 3D. Now for two users, the workspace randomly freezes up. The freeze is just visually, commands are still executed and it is still possible to switch to a workspace without my ribbon in it, but my ribbon just stays on the foreground. This freeze happens when the user interacts with any part of the ribbon: switching tab, clicking buttons, etcetera.

The only way to resolve this problem so far is as following:

- Switch to another workspace without my custom ribbon tab

- Restart AutoCAD

- Switch back to the original workspace, everything works now

Directly restarting AutoCAD just results in another frozen interface.

View 2 Replies


ADVERTISEMENT

AutoCAD LT :: Add Custom 2006 Buttons To 2012 Custom Ribbon And Panel?

Mar 12, 2012

I have been using AutoCAD 2006.  Our company is switching to AutoCAD 2012 LT.  I want to be able to add my custom toolbar buttons from the 2006 to the 2012 LT custom Ribbon Tabs & Panels.  I have figured out how to make the custom ribbon, tab and panel.  I just haven’t figured out what I need to do to get the old stuff to where I can add them to the panels.

I have custom 2006 buttons with and without flyouts. 

View 9 Replies View Related

AutoCAD Inventor :: Ribbon Freezes In 2012?

Mar 28, 2012

I am having PDS Ultimate 2012 and working on inventor. when i open a file or open a new template ribbon freezes means menu bar doesn't work properly,if i change the ribbon appearance it doesn't update also i cannot switch between the menu bar tabs and if i turn on the visibility of the datum planes it doesn't show on the screen.But when i refresh the windows everything works sometimes. i have installed SP1 and even repaired inventor.

System Config:

OS Name Microsoft Windows 7 Professional
System Manufacturer LENOVO
System Model 20079
System Type x64-based PC
Processor Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz, 2300 Mhz, 2 Core(s), 4 Logical Processor(s)
Name AMD Radeon HD 6370M
Adapter Type ATI display adapter (0x68E4), ATI Technologies Inc. compatible
Adapter Description AMD Radeon HD 6370M
Adapter RAM 1.00 GB

View 2 Replies View Related

AutoCAD Inventor :: Ribbon Freezes When Checking In

Nov 21, 2012

If you make alterations to a model, and then switch to vault menu, your model is red with an asterix (requires saving). If you click check in on this, you get the message that it needs saving, click ok. It appears that it has worked but all the buttons on the toolbar are frozen. if you click the big I all the ribbon greys out and you need to restart Inventor. The only button that still works is Suite Workflows.

I have SP1.1 installed as well as the vault hot fix. 

View 5 Replies View Related

AutoCAD .NET :: Size Of Custom Ribbon?

Nov 16, 2013

I created a custom ribbon for my collection of blocks.

I want to arrange the buttons in three columns each with about 5 to 10 rows.

The ribbon is nicely created, except that all rows are shown.

I would like to see only the first three rows and the next rows as a drop down.

Like in the Draw-section of the home tab in AutoCAD 2013.

View 6 Replies View Related

AutoCAD .NET :: Make Custom Ribbon Tab / How To Insert

May 13, 2013

I am new in the autodesk customization, I have autocad 2013 and visual studio 2010..I am interested in make a custom ribbon tab, where I can put a button.

I have found some (incomplete) samples to implement a custom ribbon tab, but I dont know how to "insert" my tab into autocad 2013, and how must I load my tab? with a command?  or it can load automatically?

View 7 Replies View Related

AutoCAD Inventor :: How To Create Custom Sketch Ribbon

Sep 14, 2012

How to create a custom ribbon with sketches cmd... I found example for assembly context... it work well but I don't find how to do that in sketch mode... The goal is to control the cmd the user can use.

View 3 Replies View Related

AutoCAD Civil 3D :: How To Initialize Custom Ribbon Bar At Startup

Jan 1, 2014

I created a Net dll plugin and successfully loaded in Civil 3d 2014 with NetLoad command, the plugin contains a ribbon bar with a ribbon button launching a dialog.., but when To be Loaded automatically (by AutoLoader) at startup it did'nt load, is there any way to make it load automatically at Civil 3d start up

here its my ContentPackage.xml 

<?xml version="1.0" encoding="utf-8"?><ApplicationPackage SchemaVersion="1.0" AppVersion = "3.0" ProductCode = "{E74E298D-D430-4100-83D0-CA230BB00A41}"> <CompanyDetails Name="ESOL Engineering Bureau" Phone=" " Url=" " Email="eng.ims134@gmail.com" /> <RuntimeRequirements Platform="AutoCAD|AutoCAD*" OS="Win32|Win64" /> <Components> <RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD|AutoCAD*" SeriesMin="R19.0" SeriesMax="R19.1" />

[Code] .......

View 5 Replies View Related

AutoCAD LT :: Make Dropdown Buttons For Custom Ribbon Panels

Mar 14, 2012

I have made a 2012 LT custom ribbon and a custom panel.  I have transferred buttons from my autocad 2006 to my 2012 LT.  They work just fine.  The probem is that in 2006 I had drop down buttons to save toolbar space.  I want to be able to add the drop down button feature to my new panel.  I do not see how to create that type of button, so I can add the regular buttons to it and have one drop down button with those commands in it. 

View 9 Replies View Related

AutoCAD .NET :: Create Custom Ribbon Tab And Buttons For Mechanical 2011?

Nov 23, 2010

How do I create a ribbon tab and button for my application, any sample code?

How do I interact the button click with my application?

View 9 Replies View Related

AutoCAD Architecture :: Create New Custom Tab Panels In Ribbon 2011

Oct 15, 2011

send me a link to tutorial to create a new cutom tab panels in a ribbon 2011

View 1 Replies View Related

AutoCAD Inventor :: How To Intercept Click Event On Custom Ribbon Tab

Jan 10, 2013

I have a have a custom ribbon tab on the Assembly and ZeroDoc ribbons, those have pannels and buttons.

The custom buttons have OnExecute event that can have custom actions addded.

But how can we intercept the event when user is clicking on the custom tab to show custom pannels?

Is there a OnExecute or a similar event for the RiboonTab?

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Custom Ribbon Tab Is Not Visible?

Nov 7, 2011

I have tried everything even un-installing and re-installing. I have customized programs that have been working properly for months by many individuals. These include custom menus, toolbars and ribbon tabs. One day last week one of the ribbon tabs disappeared. The crazy thing is if I load the .cuix file as an Enterprise cui, everything is visible and works just fine. BUT, when I load it as a partial cuix file the ribbon tab does not show up. The custom menus come in, my custom toolbars work and show up just fine but the dag blasted ribbon tab won't show up.

Yes, it's marked as visible. I've done and redone the cui editor, customized my workspace again and again checking every piece of information. I need to have it loaded as a partial cui file as I am the author of these tools that hundreds of people in my company depend on.

View 6 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Ribbon Button - Custom Schedules

Feb 18, 2013

How to add buttons and create my own ribbon in AutoCAD, but now I would like to be able to have buttons for two different schedules that I have created. While I can have a button start the schedule command it won't automatically pick the schedule that I want it to create.

View 1 Replies View Related

AutoCAD Inventor :: Add Custom Button To Ribbon To Launch ILogic Code Using VB

Jan 16, 2013

I'm trying to find a way to add a custom button to my ribbon that will launch a global rule or form using VB. I know of a way using VBA but I want to get away from VBA. I'd much rather create an add with VB and use that.

I'm currently running IV 2012.

View 1 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Running Code As Macro (custom Command In Ribbon)

Dec 23, 2011

So I can run the following code from the command line with no problem:

  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Civil-Linetype"))
  (WRK-Insert_Standards_Block '("S:\AUTOCAD\_Common\Linetypes\CSW_Survey-Linetype"))
  (WRK-Layer_Insert_all "CSW-X-FM_Layers_List")

However when I put it into a macro (custom command to be used from the ribbon) it spits out the following in my command line:

(WRK-Insert_Standards_Block '("S:

View 2 Replies View Related

Illustrator :: CS5 Freezes Selecting Objects

Mar 14, 2011

I am running Illustrator CS5 on a brand new quad-core MacBook Pro. When I'm working in an Illustrator file, every time I click on a different object the program freezes for a good 5 seconds (which adds up really quickly and is really annoying.) I first noticed this in a large illustrator file with a lot of different elements, but I was testing it out and it still happens when I have a new document with only two circles in it. One of the circles is selected and I click on the other circle and the program freezes.

View 11 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Customize Ribbon Panel In Ribbon Tab

Nov 28, 2012

I am trying to customize Autocad 2012 ribbon tab. I can't seem to find how to mimic the small arrow that appears in several of the standard menus. For example, in the 3D Solids - Home Tab, the second panel from the left is "3D Solids Home - Mesh" It has a small arrow in the corner that opens up a preferences dialogue box.

How can I add that arrow to a custom panel with that little arrow so that I can add my command to it?

View 4 Replies View Related

AutoCAD 2013 :: How To Add Custom Properties To Objects

Aug 13, 2013

Is there any (non programming) solution where I can add custom data/properties to objects in plain AutoCAD?

(I know I can in Civil 3D though, using Notes/Extended Properties etc etc)

We want to allow users to add their own unique ID to all their drawn objects, and we don't want to use Entity Handle as that is not anything we can choose  ;-)

We're using that ID to connect other datasources (ODBC) to Navisworks and we would like it to work even from AutoCAD, even though we have Civil 3D inhouse.

using plain AutoCAD straight out of the box?

View 9 Replies View Related

AutoCAD .NET :: Where Are Bits Of Ribbon API To Add Slide Out To Ribbon Panel

Jan 24, 2013

Where are the bits of the Ribbon API to add a slide out to a ribbon panel?

Autodesk.Windows.RibbonControl ribbonControl = Autodesk.Windows.ComponentManager.Ribbon; RibbonTab Tab = new RibbonTab(); ribbonControl.Tabs.Add(Tab); // create Ribbon panels Autodesk.Windows.RibbonPanelSource panel1Panel = new RibbonPanelSource(); panel1Panel.Title = "Panel1"; RibbonPanel Panel1 = new RibbonPanel(); Panel1.Source = panel1Panel; Tab.Panels.Add(Panel1);
 
I saw some source that hinted you could use panel1Panel.AddSlideout() but in the search I do not see any Ribbon API that allows for any slideout functionality?Do you *have* to use the CUI API for this?

View 5 Replies View Related

AutoCAD Civil 3D :: Adding Custom Objects For Modeling

Aug 17, 2012

Is it possible to add a custom object such as soil reinforcement to C3D? I have a roadway grading plan with cut/fill slopes that will require geosynthetic reinforcement. Is it possible to add reinforcement to the drawing and have C3D calculate quantities?

View 2 Replies View Related

After Effects :: Rain Custom Objects In CS5?

Jul 8, 2013

I'd like to make multiple copies of a .jpg I've made rain down from the top of the screen, ad-infinitum. Like, imagine small cat's heads raining down from the top of the screen.
 
I have foggy memories of an effect where I can just replace the default object with my own, but am having no luck finding it.

View 2 Replies View Related

CorelDRAW X5 :: Set Keyboard Shortcuts Or Custom Toolbar Button For Customized Find Objects?

May 30, 2012

Is there any way to set keyboard shortcut or toolbar button to customized find objects option (.fin file)? I am a average Coreldraw user, knows almost all basics, but lacks advanced use of Coreldraw. I like to use any techniques that saves time. I know it with adobe Photoshop (like action etc.) but not with Coreldraw.. I heard about macros.

For Now I need to

1) set keyboard shortcut or toolbar button to customized find objects option (.fin file)

2) set keyboard shortcut or toolbar button or macros for repetitive find & replace options...

3) create macros for simple moves & then after combine these type of simple macros in one macros...

4) set keyboard shortcut or toolbar button to that macros...

5) and any these type of time saving technique. (in selection making, replacing, finding, batch process etc..)

I want is make actions & then combine them to script & then set keyboard shortcuts for same...

View 1 Replies View Related

AutoCAD Inventor :: Default (custom) Material For Custom Content Center Parts

Feb 21, 2013

When inserting a content center part for which we have to choose a material, we would like to have a custom material as a default (material with name: "No material selected"). So when selecting no material for this part (for example when the user forgets to select a specific material), the default material (in this case material "No material selected") will be active. In this way, we can see in one view across the BOM which parts have no material assigned yet.

How can this be achieved in the content center (editor)?

Product Design Suite 2014
Inventor 2014, Vault 2014
HP Workstation Z220
Intel Xeon 3.4GHz
16GB RAM
Nvidia Quadro 4000
Windows 7 Professional (64bit)

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Set Custom Property In Custom Content Center Part

May 16, 2013

When using Inventor with Vault, we have a problem when categorizing custom content center parts in Vault. In short, custom content center parts are incorrectly categorized as "Content Center" and automatically released - as there is no property that we can use to identify these files.

I need iLogic code to trigger when custom content center files are created/saved, wich adds the following custom iproperty "IsCustomContentCenter=True".

View 1 Replies View Related

AutoCad 2D :: Drag Previous Custom Command Into Existing Custom Tool Bar

Nov 27, 2013

When I drag a previous custom command into an existing custom tool bar and edit the custom command (then rename the command in the Name and Command Name) it also changes the previous custom command that I originally drug into the toolbar. What am I doing wrong?

View 2 Replies View Related

AutoCAD Inventor :: Can't Apply Custom Appearances To Custom Materials

Apr 4, 2013

I am trying to create custom Materials in Inventor 2013.  I have been able to create the custom appearances I want use on the materials and store them in the Inventor Materials Library.

After creating the custom appearance, Ive created new materials. When I try to change to new material appearance from default to my custom appearance, upon hitting the 'apply' button I get an error message which reads, 'failed to updated style'.

View 1 Replies View Related

AutoCAD 2010 :: Custom AutoPurge Tool In A Custom Toolbar

Nov 9, 2012

We are a firm using ACAD 2011 w/ a custom toolbar that has an Auto Purge "tool" it currently deletes duplicated layers, reg ops, duped scales etc. we are wondering what else it can do (or any other tools that may be of use) or how can we get it to do more for us, like restrict referencing files from "unwanted" locations and any other tools that are essential to reducing the size of a drawing so its now so slow

View 3 Replies View Related

AutoCAD LT :: Custom Text For Custom Buttons

Dec 18, 2012

how to place a 2 line text under a custom button.I tried to mimic some of the std button but it didn't work.

Attachment 1 is the std Tool Palette and User Interface buttons in the Manage Panels.

You can notice that the name is User Interface on the left and UserInterface on the right.

Attachment 2 is my button, on the left I CANNOT edit the name and on the right any changes automatically edit the left name.

At the end I would like my button the appears with one line: Extract and under Maint.

View 9 Replies View Related

AutoCad :: Size And Shape Of All Objects Connecting The Objects To The Main Structure

Nov 22, 2012

I am very much new to AutoCad, but have learned quite a bit about it in the last few days. As a part of the learning I have been building a 3D model of the shed my dad is building. But I ran into a problem on the roof and cant seem to figure out how to click everything into place.

My problem: I need to keep the size and shape of all objects while also connecting the objects to the main structure. I need to keep A and B connected to the main structure and adjust the angles so that both meet at C. But if I move one then another moves out of place. (In the pic B is out of place) All I want to do is hold the beams at A and B in their spot while adjusting the rotation on both beams to meet at C all at the same time. I have tried to fine adjust the rotation on the beams individually but still cant get them together. I cant seem to get the constraints feature to work, because I guess it only works in 2D. I have tried to use the align tool but it just throws everything haywire.

View 6 Replies View Related

AutoCAD VB :: Converting AttributeDefinition Objects To Text Objects On Same Layer

May 9, 2013

I have several .dwg files that I use as templates. I run find and replace VBA routines on the template .dwg files, ie find $Flavor$ and replace it with "Grape", and then I save the .dwg to another directory with a new name. 

These VBA routines work well for acdbText and acdbMText objects, but I have a bunch of AcdbAttributeDefinition objects in the .dwg templates as well.

After much research about the AutoCAD object model (I'm mostly a Microsoft Access VBA programmer), I have come to understand that these AcdbAttributeDefinition objects are actually "remnants" of a block that no longer exists in the drawing.

Anyway, I'd like to convert all of these orphaned AcdbAttributeDefinition objects to acdbText objects in the templates and then delete the AcdbAttributeDefinition objects. I have some code that does just that.

However, the issue that I am having with the code is that the newly created acdbText objects are not on the same layer that the original AcdbAttributeDefinition objects were on. I don't know the syntax to identify what layer the AcdbAttributeDefinition object is on or how to specify what layer on which the acdbText object is created.

how to keep the acdbText objects on the same layers as the original AcdbAttributeDefinition objects during the conversion and deletion process?

Here is the code I am using currently:

Sub AttConvert(dwg as string)Dim oDocument as AcadDocumentDim ent as AcadEntityDim aa as objectset oDocument = Documents.open(dwg) For Each ent In oDocument.ModelSpace If ent.ObjectName = "AcDbAttributeDefinition" Then' DO SOMETHING TO IDENTIFY WHAT LAYER THE ACDBATTRIBUTEDEFINITION OBJECT IS ON
' DO SOMETHING TO SPECIFY THAT THAT IS THE LAYER TO CREATE THE ACDBTEXT OBJECT ON Set aa = ThisDrawing.ModelSpace.AddText(ent.TagString, ent.InsertionPoint, ent.Height) End If Next ent For Each ent In ThisDrawing.ModelSpace If ent.ObjectName = "AcDbAttributeDefinition" Then ent.Delete End If Next ent End Sub

View 1 Replies View Related







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