AutoCAD .NET :: Windows Form Based Stand Alone Application

Feb 9, 2012

i developed a windows form based stand alone application in Vb.net 2010 that calculates all the geometry data needed for a Spur Gear ,my final goal is to send all Calculated data needed in Autocad 2012 and draw automatticly the Spur Gear.

At first i started to experiment my self with a simple only task (created a new project only for this) to draw 4 circles with the same center (radius1,2,3,4) in autocad with a simple click of the command button.

The code i used is the following (for 1circle) but it returned a error  like this>> SendACommandToAutoCAD()-->>Could not load file or assembly 'Acmgd, Version=18.2.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Imports Autodesk.AutoCAD.ApplicationServices
Imports Autodesk.AutoCAD.Runtime
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]....

View 3 Replies


ADVERTISEMENT

AutoCAD Inventor :: Stand Alone App With Model View Windows

Mar 4, 2013

I've started working on a project but I'm a little out of practice. I need to create a standalone application, with a window to view the active model. Essentially, it'll be a viewer tool with some other minor functionality for interrogation.

Alternatively, Is there a way for me to add a viewer window to my form? Like an InventorViewWindow Control or something?I've spent the last day or so searching, but nothing really useful has surfaced.

View 9 Replies View Related

AutoCAD .NET :: Converting COM-based Application

Nov 5, 2012

I currently have a Windows VB.net app that uses COM to open/save/close and manipulate drawings in AutoCAD..Here's how I open a drawing
           
AutoCAD_CurrentDwg = AutoCAD_Instance.Documents.Open(strAutoCADFilePath)

I work with various blocks and their attributes like so
 
Dim AutoCAD_Block_Attributes As Object = AutoCAD_Block_Reference.GetAttributesFor Each Me.AutoCAD_Block_Attribute In AutoCAD_Block_AttributesDim strAutoCAD_Block_Attribute_TagString As String = AutoCAD_Block_Attribute.TagStringAutoCAD_Block_Attribute.TextString = strSomeDB_Value
 
As I mentioned, this runs external to AutoCAD but I was wondering if it would be beneficial to re-write the app to run within AutoCAD... also, I believe that COM is "obsolete"? I think that my app could be revised to run inside AutoCAD via NETLOAD, using ObjectARX? One concern I have is that my app right now works with many versions of AutoCAD, not need to re-issue because my DIM statements are generic...
 
Private AutoCAD_Instance As Object Private AutoCAD_CurrentDwg As ObjectPrivate AutoCAD_Document As Object

View 4 Replies View Related

AutoCAD .NET :: Creating Multiple Layouts Based On Form Input

Nov 3, 2011

I've been working on this code for a bit now and I've got a Windows Form with a numeric up down box which is designed to determine how many Layouts (PaperSpace) that a user would like generated.

I've got the form to pass the value as to the function as an argument but an not sure how to get the function to automatically generate "x" amount of Layouts based on the value of "int x". Right now i've just got a few "if" statements controlling the system, but i'm looking for a more elegant solution than a sea of "if" statements.

namespace CHPaperSpace
{
public class PaperSpace
{
[Autodesk.AutoCAD.Runtime.CommandMethod("CHPAPERSPACE")]

// This will be the function associated with my command
public void CHPAPERSPACECOMMAND(int x)
[code]........

View 5 Replies View Related

AutoCAD .NET :: Form To Allow Users To Create New DWG Files Based On Selected Criteria

Oct 10, 2012

I developed a program in VBA that used a form to allow users to create new dwg files based on selected criteria the vba program would then create and open the new dwg file and in the case of sheet files, it would populate title block attributes as well.

In vba, the forms focus was carried to the new file so the application would fill in the attributes, etc. as described above,

However in vb.net, I have not been able to get the form to recognize the new file. The program creates and opens the file, however the forms focus is still on the initial file so any actions to be applied to the new file are not carried out.

View 3 Replies View Related

AutoCAD .NET :: Retrieving Block Attribute Using Form Application

May 1, 2013

I have already developed my VB.NET Windows Form app (.NET 4.0 in VS2012) which does some Windows operation on roughly hundreds of AutoCAD drawing files(e.g. purely copy/move/rename type of actions).

Now I need to tell my app to communicate with AutoCAD 2013 and collect some attributes from a specific existing block in all of these drawings and then replace the collected values with some other values passed to AutoCAD by my Form  application (see diagram below)

I had a look to couple of AutoCAD .NET blogs and realized how to make DLL files and leverage NETLOAD tool in AutoCAD afterwards but I am afraid DLL files and NETLOAD are not what I am looking after .

I would like to clearly know what is the best pathway to achieve my goal described above.

View 9 Replies View Related

AutoCAD .NET :: Can't Capture Key Events In Windows Form

Mar 15, 2012

I have created a basic add-on that shows a modal windows form. The only issue I am running into is that I am completely unable to capture any key events in the form. I just want to make the escape key close my form, but I'm having no luck. Here is my basic setup:

 <CommandMethod("myCommand")> _Public Sub myCommand() Dim myForm As Form1 = New Form1Autodesk. AutoCAD. Application Services. Application.ShowModalDialog(myForm)End Sub

Then in the form code, I have this, for testing purposes:

Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress MsgBox("keypress") End Sub
 
I've also tried KeyUp and KeyDown. Key presses are working inside the form (I can use the keyboard to select an item in a combobox, for example), but I never hit the event handlers.

View 4 Replies View Related

AutoCAD .NET :: Open DXF File From Windows Form Button

Nov 26, 2012

I got a problem to open a dxf file. If I use command method then I can easily do that. But I want to open that file by clicking a button from my windows form. I did the coding for that specified button like below:

Private Sub Button6_Click(sender As System.Object, e As System.EventArgs) Handles Button6.Click
Dim strFileName AsString
LoadDXF.InitialDirectory = "C:"
LoadDXF.Title = "Open DXF File"

[Code] ......

After invoke that button I got a error like below:

How can I open the drawing without commandFlags.session? I want to use the button of my form to open that dxf file.

View 5 Replies View Related

AutoCAD Inventor :: Populate Listview On Windows Form

Jan 8, 2014

I am struggling to populate a list view on my windows form. I have tried various methods but its not working. I can get the values into the listview but where i need 2 columns with many rows, i am just get 5 columns.

my list view needs to populate 2 columns. the first column is visible and shows a part name. the second column is hidden and holds a different value. I recursively loop through records and i need to add a row per record. This is captured with j. How can i add the correct amount of rows per j and the columns to hold the correct data?

View 2 Replies View Related

AutoCAD Inventor :: ILogic - Can't Set Location For Windows Form Control

Mar 21, 2013

I am trying to create a windows form within iLogic. Everything works except the lines defining the location on the controls. I keep getting the following error: 'New' cannot be used on an interface. The error refers to lines in the code that try to set the control location on the form. (i.e. "button1.Location = New Point(10,10)") Ihave pasted the code below and have it attached as well. I am in Inventor 2013.

AddReference ("C:WindowsMicrosoft.NETassemblyGAC_MSILSystem.Drawingv4.0_4.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll")Dim oOccurrence As ComponentOccurrenceTry oOccurrence = ThisDoc.Document.SelectSet.Item(1)Catch MessageBox.Show("Please select a component before running this rule.", "iLogic")

[Code] ........

View 1 Replies View Related

AutoCad :: Application Windows Makes Drawing Title Hard To Read

Dec 2, 2013

even if i personalize the theme to make all my windows bright pink, AutoCAD 2009 just stays very light grey, with barely readable white writing.

View 9 Replies View Related

GIMP :: Application Windows Layout And Alignment

Jul 8, 2012

it is the first time that i am installing GIMP on Windows, the problem is about application dialogs and menus alignment , i use Persian as my default windows language and it seems that GIMP detect my windows language and make all alignments to Right to Left as Persian default alignment , i tried to use the PreferencesInterfaceLanguage -> English United State but after reopen the application there is no change !

is it possible to force it to align everything in left to right alignment ?

View 5 Replies View Related

Photoshop :: How To Turn Off Application Frame In Windows Version Of CS6

Nov 27, 2012

I have successfully turned off the Application Frame on my Mac version of CS6 but can not find the same functionality in my Windows version.  How to turn off this feature in the Windows version?

View 2 Replies View Related

GIMP :: 2.8.2 Windows 7 64 Bit - Application Was Unable To Start Correctly

Aug 24, 2012

I get file-tiff-save.exe & file-tiff-load.exe Application Error when opening Gimp 2.8.2 in windows 7 64-bit.The error: The application was unable to start correctly (0xc000007b).

View 5 Replies View Related

Photoshop :: When Click On Windows There Is No Option To Select Application Frame?

Sep 7, 2013

When I click on windows there is no option to select Application Frame. why this might be and how to fix it?We are not on a Mac - we are on Microsoft.

View 1 Replies View Related

Photoshop :: Adobe Application Manager Fails To Install On Windows XP

Oct 1, 2013

I was advised to download photoshop via adobe application manager as I have an XP OS. I even downloaded the application manager but now it fails to install saying "remote server not properly placed.Try after a few minutes" Whenever I retry I get the same message. Even I am getting the same message in case of installing adobe flash player. The installer always says installation not complete.

View 1 Replies View Related

Photoshop :: Convert Pixel Based Files To Vector Based Illustrator?

Apr 23, 2012

Is there a way to convert the pixel based phtoshop files to the vector based illustrator files?

View 2 Replies View Related

AutoCAD .NET :: Erase Stand Alone Objects In DWG?

Sep 12, 2013

I would like to remove all the Layers with the name "PLOH*" in them, that do not have anything in the same insertion point. I have been trying to select everything in the crossing window where the point3d's are the same but this does not get them all for some reason.

View 3 Replies View Related

AutoCAD Architecture :: Network To Stand Alone

Oct 28, 2013

Is there any way to downgrade the license into Network to Standalone of Autocad Architecture.

View 1 Replies View Related

InDesign :: Submit Form Button Doesn't Work In Interactive Form Opened In Reader Created In 6

Oct 8, 2012

One of the features I was really looking forward to  in CS6 was creating fillable forms with ONE application. I created a form following the step by step instructions in classroom in  a book for CS6.  When I opened the exported form in Reader X, I get a "This operation is not permitted" error. I opened the completed "end" document in the lesson to make sure  I didn't commit an error, and I got the same message when exporting. I have looked for places in menus to modify security restrictions and I can't find any. I installed the updates and that didn't solve the issue.
 
I saw one solution posted which is to open the document in Acrobat, then do a "save as" option.   Is there anything we can do that doesn't involve buying additional software? If this is not the case, then Adobe seriously needs to change its training and advertising about this functionality.

View 11 Replies View Related

AutoCad :: Resistance Calculation Aquarium Stand

Sep 16, 2012

Calculation of resistance, making a simulation for an aquarium stand. Stand must support about 900 kg., Is made of 18 mm chipboard, combined with screwing.

All vertical walls are triple, its made ​​of 3 pieces of chipboard, and the above is twofold. Policies are also set to increase rigidity all the screwing structure. The dimensions are 2000 (L) x 700 (w) x 774 (h).

what weight support the stand?

View 8 Replies View Related

AutoCAD Inventor :: How Much Weight A Specific Area Can Stand

Apr 23, 2012

Is this possible? I have aluminum part and would like to know how much weight the thinnest area can handle.

View 3 Replies View Related

AutoCAD Inventor :: Form Picture - Parameter Driven Picture On A Form

Apr 10, 2013

I am working on a form (global) and have added a picture with a parameter and a picture folder underneath. So that the picture displayed on my form will change depending on the parameter value.Here comes the trick. Only text parameters can be used!On the form editor only 'Text parameter' can be selected to drive the picture selection. I actually need an integer, so that i can use my User/Excel parameters from Inventor.

I can work this around with an iLogic rule to equal the value of my string Picture Parameter with the relevant integer Inventor parameter, but the rules need to be run before the pic and the form updates (by pressing the 'Apply' button at the bottom of the form and then the assy updates too. So this takes a couple of minutes)... whereas if it was an option on the form editor then the update would be instant without waiting for everything to update...

Is there a particular reason why the Picture Parameter only can be a text parameter?

View 2 Replies View Related

AutoCAD Inventor :: Where To Add Wind Load On Hydraulic Cylinder Wellhead Stand

Jul 12, 2012

We created a wellhead stand (top and bottom plates has od of 18" and the body has od of 16.75" thk of 0.5") and ran the stress analysis.

Because we have a cylinder attach vertically to the wellhead stand, so we added the gravity and force  (40,000 lb) on the top plate.

Our question is about the wind load. We know there has a software call robot structural analysis but that is not an option yet. And we looked up other pages and knew that we can convert the wind load to pressure. Basically the wind load is on the one side of the hydraulic cylinder (around 13feet tall and od of 6") and rod (around 12 feet tall and od of 4"). But where do we add it to the wellhead stand? on the top plate (flat face) ? or the body (cylinder)?

We attached a sample part. the orange parts = hydraulic cylinder. the green part = top plate. the magenta part = body.

View 3 Replies View Related

Photoshop :: Corrupted CC Application When Desktop CC Shows Application As Up-to-date

Nov 24, 2013

How do I re-install a corrupted Photoshop CC app when the Desk Top CC shows the app as "up to date"?

View 2 Replies View Related

Photoshop Elements :: Some Of Application Components Are Missing From Application Directory

Sep 3, 2012

I bought Adobe Photoshop Elements 9 but get the following alert: "Some of the application components are missing from the Application directory, Please reinstall the application." Can it be reinstalled? It is not available under "History" and none of the available installs appear to be for Mac OS X (Version 10.7.4). S

View 2 Replies View Related

Photoshop Elements :: Some Of Application Components Are Missing From Application Director

Mar 19, 2014

I have PSE9 and a macbook pro 10.9.  I lost the original DVD that came with my purchase of PSE.  Some files must have gotten corrupted because I can't open the program without reintalling.  It says, "Some of the application components are missing from the application directory.  Please reinstall the application."  I have the serial number and all and I registered the product.  Is there somewhere I can download a new copy to install? 

View 7 Replies View Related

Photoshop Elements :: Application Components Are Missing From Application Directory

Nov 5, 2012

at photoshop cs6 extended downloaded in july, i now get the following message: "some of the application components are missing from the application directory. please reinstall the application."

View 2 Replies View Related

CorelDRAW Graphics Suite X6 :: Apply Color To Form Command Button Loop Form Controls And Save And Get The Color From Registry

Sep 25, 2012

In this lesson we will consolidate code to prevent code reuse. Follow along as we demonstrate by doing the following and more:

Apply a color to a form command button, loop form controls, and save and get the color from registry

Part 2 of  7

cs_setInnerHtml('video_43f4e134-ee93-489d-ba2f-80042d243821','');

[URL]

View 2 Replies View Related

Photoshop :: Icon Stand For?

Jan 15, 2009

Recently this icon has been appearing on the top left corner of all my photoshop files... it looks like a "insert image" icon (with the 2 mountians) and it has the number "01" beside it. I don't know how I got into this mode but I need out of it!

View 2 Replies View Related

Photoshop :: Color Stand Out

Oct 14, 2006

how to take a full color pic and then turn it into a black and white of the same thing but also keep some of the color of the original picture...

View 5 Replies View Related







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