AutoCAD .NET :: List Dot Paired To Form

Apr 18, 2012

I try to make a form with à list dot paired:

(("mscorlib.dll" . "2.0.0.0") ("AcdbMgd.dll" . "18.0.0.0"))

A simple form with 2 column and a windows not fix, expandable !

My problem how to transfert list to .net (VB) ?

View 6 Replies


ADVERTISEMENT

AutoCAD Inventor :: Can IAssembly Configuration List Appear In An ILogic Form

Aug 29, 2013

A client was looking to develop a custom interface for documenting iAssemblies.

Would it be possible with iLogic to:

1. Show form.

2. User selects a Browse button to select iAssembly to document.

3. List all iAssembly configurations in the form.

4. User picks configuration.

5. Select OK to create base view, projected view, and Parts List.

This may require API.

View 7 Replies View Related

AutoCAD Inventor :: List In Form Doesn't Update After Chose Option

Sep 25, 2013

I have a few lists in my form. The first one decides what information the other lists should have, so none of the choices are the same. I should first add that I have the "OK, Cancel, Apply" option.

Is there any way that I can make the other lists update automatically when I chose something in the first one? The only time they update is when I press the "Apply"-button.

I have parameters and rules that decide what lists should be shown at what option from the first list so I don't think that is the problem.

View 4 Replies View Related

AutoCAD Inventor :: Create Combo List And Put It In Form Then In Text Into Symbol

Oct 30, 2012

Create a form with combo box that user can choose one option for the line notes, would be 15 lines with 15 combos, and if necessary the user should be ale to type something insted of using that pre defined option from combo.

I have 2 ideas to make that work, untill now im trying with this 1º but nothing yet.

First Idea:

Create some (15) boolean parameters to enable each line of this NOTE and when the user choose or type one option, that text go directly to one textbox into a Symbol with the 15 lines. I actually dont know how to make this connection, tried some stuffs that found here on forum, but some are too complex.

Second idea:

Instead of create parameters to control everything, i would create all the controls by iLogic, but that is harder then create many and many parameters ? And by this way, i dont know how to conect one INPUTLIST BOX with a pre defined Global form, or, is easier to create a form by ilogic (if that is even posible ofc) ? And still dont know how to make the connection with the chosen option and the text box.

That is just to "centralize" all my notes, that can be variable for each drawing, that way i dont need to have too much symbols for each kind of note, or even have to type everytime that i need one diffent. Would be nice if the user could just choose them in the right sequence he wants.

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 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

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

AutoCad :: Generate Part-list And Order-list In 2011?

Oct 5, 2011

I have some blocks (different exit signs) in a drawing. I want to make a table or excel sheet that sums up the number of equal blocks in the drawing. How can i make this?

I want to connect this tabel to excel 2010.

I use AutoCad LT 2012.

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Add List To A List

Jul 15, 2013

I have a list -

(setq List1 (list "Line A" "Line B" "Line C"))

I would like to add each item in an existing list to a new list -

(setq ListNew (list "This is some text" "This is more text"

the following is the part I can't figure out - it just adds the list to the list, not the individual items

(mapcar '(lambda (x) x) List1)))

I am looking for ListNew to be - (a list with 5 strings)

"This is some text"

"This is more text"

"Line A"

"Line B"

"Line C"

View 9 Replies View Related

AutoCAD 2010 :: Modify DEFAULT SCALE LIST To Show Metric Scale List In Imperial Template

May 2, 2012

Is there a way to modify the DEFAULT SCALE LIST to show a metric scale list in an imperial template? I mean, I start a drawing using the imperial template, but i want to use the standard metric scales on paper space. on previous versions the scale list shown both imperial & metric. Now it depends of what the template is using.

View 1 Replies View Related

3ds Max :: Shader List (Volume) Duplicates Last Item In List

Nov 4, 2011

I use a setup with Shader List (Volume) with two mists. One regular and one to blur out the horizon. After working on the scene for some time I notice that the shader list now contains eight copies of the last shader. I think I would remember if I did that. So, whats up with the shader list?

View 1 Replies View Related

AutoCAD .NET :: How To Using Modeless Form

Nov 26, 2013

I want to AutoCAD do not lock it's space, when my Form is shown on display. But I have an exception when I use modeless dialog.

public void MyCommand ()
{
//-------------------------------------------------
// Using this code, my program works fine, but locks modal space of AutoCAD
System.Windows.Forms.Application.EnableVisualStyles ();
System.Windows.Forms.Application.Run (new  Form1 ());

  // I want to use this instruction to do not lock modal space
  // Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog (new Form1 ());
  //------------------------------------------------- 
}

If I use modeless dialog I can read and write from acad prompt and create block; BUT I can't create BlockReference. 

I get an exception "eLockViolation" in the next code instructions:

//------------------------------------------------------------------------------------------------------------------------------

public void CreateBlockReference (string strBlockName, Point3d Origin) {
using( Transaction t = db.TransactionManager.StartTransaction () )  {
BlockTable btTable = (BlockTable)t.GetObject (db.BlockTableId, OpenMode.ForRead);  // <--- EXCEPTION

[Code] ..........

View 2 Replies View Related

AutoCAD .NET :: How To Restore A Form In C#

Nov 7, 2012

Visual Lisper trying to migrate to .net! how to restore a form?

I have an "about" project which contains 3 forms.

Form1 is displayed by default when the command is called...it contains two buttons which both close form1 & open form2 or form3. What I would like to happen is that when form2 or form3 is closed, form1 will be restored.

This is the code which defines the command & shows form1:

<code begins>
[CommandMethod("EzAbout")]
public void EzAbout()
{
Form1tvf1;
tvf1 = newForm1();
Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(null, tvf1, false);
}
<code ends>

This is the code from the button on form1:

<code begins>
private void button1_Click_1(object sender, EventArgs e)
{
this.Close();
Form2 tvf2;
tvf2 = new Form2();
Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(null, tvf2, false);
}
<code ends>

This is the code behind the close button on form2...trying to restore form1 (it closes form2 but does not restore form1)

<code begins>
private void closeButton_Click(object sender, EventArgs e)
{
this.Close();
Form1 tvf1;
tvf1 = new Form1();
Autodesk.AutoCAD.ApplicationServices.Application.ShowModelessDialog(null, tvf1, false);
}
<code ends>

View 6 Replies View Related

AutoCAD Inventor :: Way To Get Columns In Form

Jul 27, 2012

Is there a way to get columns in form? I would like to put

Hole F Type { List the types}  Hole F Location {input box}
Hole N Type { List the types}  Hole N Location {input box}
Hole G Type { List the types}  Hole G Location {input box}

If not this form will be off the monitor.

View 9 Replies View Related

AutoCAD .NET :: Changes To Form Not Visible While Debugging?

May 6, 2013

I'm using visual studio 2010 and autocad 2012 x64. When I make (visual) changes to a form in the editor between debugging, for example the width of the form, the changes aren't visible on next debugging, it's still the same width as it was before. Same thing for font size, when changed the changes are not showing when debugging again. Almost seems like autocad remebers the previous layout of the form. A new control added between debugging shows up fine.

View 2 Replies View Related

AutoCAD Inventor :: Get Value From A Control At VBA Form

Apr 4, 2013

I'm trying to enter a model parameter value with a VBA form, but I don't know which type of control to use neither how to write the code. I want to enter a number or a value with any control and use this value for modify a model parameter.

I have a simple code with a line:

oModelParams.Item("z").Value = 25

I want to make something like:

assuming that "TextBox1.Value" is a numeric value obtained with a control at the form

oModelParams.Item("z").Value = "TextBox1.Value"

View 1 Replies View Related

AutoCAD .NET :: How To Make Codes Form VBA

Aug 3, 2011

I am new to VB.net and I just wondering if it is possible to use some codes that we use in VBA into VB.net , things like this .
 
Public Sub AddTheCircle() Dim p(0 To 2) As Double, r As Double p(0) = 10: p(1) = 50: p(2) = 0 r = 150 ThisDrawing.ModelSpace.AddCircle p, rEnd Sub

If not , so how to start with VB.net parallel to Autocad ?

View 7 Replies View Related

AutoCAD .NET :: Get Dimension In Custom Form

Feb 22, 2012

Am into Customization of AutoCAD and the project which I am doing is almost completed. There is a small problem. When i double click on Line Dimension i should get a form to change together Line and Dimension, like we have in Inventor. 

Am using C#.net 2010.

View 1 Replies View Related

AutoCAD VB :: Why Can't Zoom Or Pan When Form Is Active

Dec 20, 2012

When an macro of a Lisp is active I can zoom and pan in a drawing. I press Escape to quit.Why can't I do that when a form is active in vba? Is that only because Showmodal is on?

View 1 Replies View Related

AutoCAD Inventor :: Get A Form Onto The Ribbon?

Sep 26, 2013

how I can get a form onto the ribbon or create a custom Icon to run it.

I have read up on afew forums that VB needs to be used in order to achive this but I want to double check.

I dont have VB but if it is the only way to get this to work I will download it.

View 1 Replies View Related

AutoCAD .NET :: Force Modeless Form To Keep Focus?

Mar 20, 2011

how I could force a modeless form to keep focus.  There is a sample on the ObjectARX docs but I can find anything for Dot Net.

View 3 Replies View Related

AutoCAD Inventor :: Global Form Location

Nov 6, 2012

Ok so where are Global Forms saved in 2013?

Inventor Pro 2013 (PDS Ultimate)
Vault Pro 2013
Windows 7 64
Xeon 2.4 Ghz 12GB

View 3 Replies View Related

AutoCAD .NET :: How To Create A Form And Send A Command

Sep 5, 2012

I don’t often used VB.net but I would like to know how I can create a form with a button that will send a command to AutoCAD. I’ve goggled but get nothing near enough to what I find understandable.

View 9 Replies View Related

AutoCAD Inventor :: ILogic Form Trigger

Nov 29, 2012

I have a ipt which is controlled via an ilogic form,this form is opened by ilogic code, which in turn is triggered when the ipt is opened.

my problem is when the part is placed within an assembly the said form is triggered and the same happens when the assembly is reopened!.... I would prefer if the form opened only when the ipt is opened or edited.... 

Is there a snippet of code for this? Or is it even possible?

View 2 Replies View Related

AutoCAD .NET :: No Form Visible In 32bit Compiled DLL

Apr 10, 2013

I have an application that I have built that runs fine in AutoCAD 2013 in Win7. I need the same application to work in AutoCAD 2013, XP- 32-bit.

I am using Interopp.dll and Interop.Common.dll that I know are specific for each 64-bit vs. 32-bit. So I changed thoses references and recompiled.

In the XP version, I get no errors when I load the .DLL, however all I get when I execute the command is a tab along the bottom, no form pop's up.

View 4 Replies View Related

AutoCAD Inventor :: Minimizing Groups In A Form

Dec 10, 2013

I am creating a large form.  The goal of the form means I am unable to break it down into smaller forms as there is a great deal of interaction between all levels of the form.  

One of my first fields is a multi-value field (Foundation Type) with four options  (None, Slab, Piers, Wall).   Three of those options have a group of fields lower in the form with between 1 and 5 fields.  

(Multi:Value Option: Example of fields specific to that option)

Slab: Thickness, Edge Depth, Edge Width
Piers:  Diameter, Depth.Offset
Wall:  Footing (T/F), Depth, Width,   

 I currently disable all of the groups of fields that are not part of the active option in the primary multi-value field throught the (Enabling Paramter Name) option with a rule.   This keeps the user from entering values that affect a Foundation Type that is not currently active, but the disabled fields take up a lot of room on my form and may confuse end user less familiar with the system,

The group function in the form has a minimize toggle next to the group name, but the Form Editor does not show any options to manipulate this toggle.    Is there a way to automatically toggle this minimize/maximize function through a rule or other means)?  Or are there any other means of hiding form fields that are not currently enabled?

View 2 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 :: Set Focus To Main Window From Form?

Dec 7, 2013

How to switch focus to AutoCAD document window from my form of C# .NET plug-in.

After user pressed the button, I invite him to input a point, but my form still on top.

And it is nessesary to press minimize button, next to set a Focus on Autocad window, then to pick a point.

It is not handy enough.

I did not find a property to set a focus in class of Application.MainWindow.

View 6 Replies View Related

AutoCAD Inventor :: Parameter Precision In Form

Apr 11, 2013

I have the following problem:

I have created a form in which I need to see the volume value. For that I created a User Parameter that is set to be equal with part's volume:

Volume=iProperties.Volume

What I don't like is that the precision for the parameter is too long and I can't change it.  I changed the precision in Document Settings and also for the parameter itself in the Parameters window, but these changed don't affect what is the form.

View 5 Replies View Related

AutoCAD Inventor :: Show File Name In A Form

Dec 13, 2011

Why can't you show the file name on a form (without using iLogic to link it to a property)?

View 2 Replies View Related

AutoCAD Inventor :: Form For Adjusting Distances

Feb 10, 2013

I have a form for adjusting center distances between several posts, up to a total of 20 posts. The number of posts is adjustable depending on how many I need. If there is 10 active posts there will be 10 suppressed post. When there are 10 suppressed post, I don`t need them in the form. Is it possible to hide the center distances I don`t need?

View 2 Replies View Related







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