AutoCAD .NET :: How To Pass Parameter In Interface To Program Of DLL File

Mar 14, 2012

I  have developed  the  interface using c#,i want to turn off or on the layer according to the parameter in interface.now i have carried out turn off or on a specified layer using a .dll file. but how i can connect the parameter in interface to the program in .dll file.

View 8 Replies


ADVERTISEMENT

AutoCAD Inventor :: Pass Parameter To DLL Using ILogic

Mar 26, 2013

I have built a vb interface using a tutorial from AU. Now I would like to do the same without the interface.

Inventor uses ilogic to pass parameters to the dll - the dll does the number crunching & returns values to Inventor - no interface required.

The tutorial uses an OK button to fire values back & forth - how can I do this without a button? I would like this to fire in the background without a form appearing.

View 4 Replies View Related

Photoshop :: CS6 - How To Stop Program Interface Going Behind Artwork

Sep 26, 2012

In previous versions of Photoshop until CS6, with your work set to 'Float in Window' mode, moving your artwork window meant that it sat behind the program interface at all times, so you could move it to the side of the screen and it would sit underneath your panels, layers, text, colors, tools etc...
 
In CS6, it now sits on top of it. This is extremely annoying as it means having to manually arrange the windows so they don't obscure the working tools. Any reason why this was changed? I'm sure it works for some people but it's disrupting my workflow.

View 7 Replies View Related

AutoCAD LT :: 2011 Program Freezes When Accessing File Command To Open File?

Mar 22, 2011

I am unable to use the file command open, new etc.  I click on open and nothing happens no file box opens.  As soon as you do anything else the program says not responding and you have to close it down.  I can click on an autocad file in windows explorer and bring up the file this way but as soon as you try any file command such as save as the program freezes again.  I am running windows 7 professional and the autocad LT 2011 64 bit program.

View 9 Replies View Related

AutoCAD Inventor :: Get Parameter Value From DWG File

Aug 6, 2012

I'm trying to get a parameter value from an Inventor .dwg file, but I keep getting an error saying the file is not found. I use this same code all over the place between different parts but its the first time I'm tried it using a dwg. Can you not access an Inventor .dwg parameters using iLogic .

MsgBox(Parameter(ThisDoc.Path & "MyDrawing.dwg", "Customer")) 

View 1 Replies View Related

AutoCAD Inventor :: How To Get Parameter From IPT File

Aug 8, 2012

I created a *.iam file. And from this asembly file, I need run some rules in *.ipt file.

I use

Parameter("PartA:1", "d12") = d12

to give d12 parameter in my assembly to d12 parameter in *.ipt. It works.

But I need get parameter in the *.ipt file after running the rules in *.ipt.

so, I put 

d13 = Parameter("PartA:1", "d13")

following above line.

But everytime, I just be able to get the result before *.ipt run the rules, not after.

I noticed the rules in assembly were compeletely run, then run the rules in *.ipt. So, the result is not correct.

I am using Inventor 2009 with ilogic. XP OS.

Autodesk Inventor Professional 2013 (64 Bit) SP2
Windows 7 Professional Service Pack 1
Intel(R) Xeon(R) CPU E5645
12.0 GB Memory

View 9 Replies View Related

AutoCAD Inventor :: IV2012 Sp1 - Delete Unused Parameter Takes 4-5 Seconds Per Parameter

Dec 23, 2011

I have user parameters that are no longer needed and are not being used anywhere.  They each takes 4-5 seconds to delete, prior to 2012 this would happen instantly.

IV2014 SP1 64bit
Dell Precision T7500, Geforce GTX 480, DirectX11 306.97
SpaceExplorer 4.04, 3DxWare 3.12.2
Twin Intel Xeon E5506 2.13GHz, 12GB RAM, Win7 Pro SP1 64bit

View 6 Replies View Related

Photoshop :: PDF With File-format Module Interface

Feb 23, 2008

I've been using Photoshop 7.0, and all of a sudden I can't open my pdf files, I get this message can't open ....file there is a problem with file-format module interface. Some of these pdf's I've opened before and they were ok.

View 3 Replies View Related

Revit :: Insert Excel File Into Interface

Jan 15, 2014

Is there any process to insert any excel file into Revit interface without the below mentioned option:
 
Open AutoACD > Insert the Excel by Table command > Save the AutoCAD file > Insert the .dwg file into Revit interface.

View 4 Replies View Related

AutoCAD Dynamic Blocks :: Passing A Value From The Action Parameter To A User Parameter

Dec 1, 2013

I need to use the dimension created by an action-parameter as a variable in a user defined function but AutoCAD will not allow me (see attached).

How may I access the action-parameter's dimension ?

View 1 Replies View Related

AutoCAD .NET :: Passing Parameter To Batch File?

Nov 20, 2012

I got a problem to pass parameter from VB to batch file. My code is below to run the batch file and to pass parameter.

Private Sub Button4_Click(sender As System.Object, e As System.EventArgs) Handles Button4.Click
Dim input As String
Dim output AsString
input = "C:atchFile est.gds"
output ="C:atchFile est.dxf"
Dim batchFile As String = "C:atchFileLC_gds2dxf.bat"
Process.Start(batchFile, input & ""& output)
EndSub

With this code the output is like below:

If you look at the screen shot you can find out that input and output variable is passing to one variable LC_gdsin. But I want that output file location will be assigned to LC_dxfout. I tried a lot but could not able to do that.

I am using VB2010 premium and windows 7 32 bit pc

View 2 Replies View Related

AutoCad :: Use User Defined Parameter To Drive Action Parameter?

Feb 7, 2012

it is possible to use a user defined parameter to drive a action parameter.

I have several polar and linear stretch actions i would like to drive from one parameter.

View 3 Replies View Related

AutoCAD Inventor :: Convert Model Parameter To Reference Parameter?

Oct 2, 2012

I need to convert a model parameter to a reference parameter thru the API.

I saw this item discussed in the group before, but I cant find the thread.

View 4 Replies View Related

AutoCAD Inventor :: Autoupdate Parameter In Excel File To 2011?

Jan 17, 2011

in inventor 2009: i linked parameter of 3D design from excel file. If i change the value on excel file --> dimension of 3D design will change. It work fine.

So, in inventor 2011, i can not do it: when change the value on excel file, 3D model does not change dimension.

View 3 Replies View Related

AutoCAD Inventor :: Set Parameter For End Value Of Parameter Animation

Dec 19, 2011

I got a deadline for my project, but I got a big problem:

"I cannot set the "parameter" for the End Value in Parameter Animate dialog"

For easy understand, let's see a example:

1. I got a part which has two parameters named: "A" and "MaxA"
2. I animate Favorited parameter A.
3. The End Value is MaxA_ (Everything is ok)
4. I finish Studio environment, then I change parameter MaxA_ from 200 mm to 400 mm
5. I turn back to Studio environment, the End Value now is "200 mm" (I want this will be MaxA_, so I can animate the flexible parameter). 

show me how to keep the end value will be "MaxA_" after I change parameter? 

View 3 Replies View Related

AutoCAD Inventor :: Ipart - Standard Parameter Column Change Depending On Custom Parameter Column

Jan 3, 2013

I am trying to publish to the CC a guide rail. The vendor of the rail gives me the option of entering the desired length of the rail. After that he gives me the option to choose between the length that I entered and a shorter and longer standard length witch can be delivered faster.

I want to do the same thing with my published part, but I cannot make a key parameter to change depending on the entered custom parameter. I want the user to make the next steps when inserting from the CC: 1- select the size of the rail; 2-select the type of the rail; 3- enter the desired length of the rail; 4- choose between the desired length and the 2 recommended lengths (I need these 3 lengths to be shown)

Is this possible?

View 9 Replies View Related

AutoCAD 2010 :: Can't Open Drawing File - Program Not Responding

Mar 22, 2011

keep getting program not responding message when I try to open a drawing.

View 9 Replies View Related

AutoCAD Civil 3D :: Importing DEM / ADF File - Program Becomes Unresponsive And Locks Up

Dec 9, 2013

Each time I attempt to import a USGS .adf file the program becomes unresponsive and locks up

approx 450,000KB in size

View 4 Replies View Related

Revit :: Put URL Link To A File In Components Instance Parameter

Jan 27, 2012

I am trying to put a URL link to a file in a components instance parameter, to show up in the properties palette, I can put the URL in there, but no link is established. How would I get this to link to the file?

View 1 Replies View Related

Revit :: Unable To Share Shared Parameter Txt File?

Feb 4, 2013

I have been making and sharing shared parameter files for years... For some reason today a co-worker's shared parameter file is invalid or could not be read...
 
We have run a couple of tests - I can create one on my computer and send to her without any issues... Any that she creates and sends to me - is invalid... WHY?

View 8 Replies View Related

Revit :: Can Change Shared Parameter Names In Txt File

Feb 28, 2012

Starting brand new project.  Would like to change the name of some shared parameters within my txt file.  As far as I know you cant chnage the name once its established witin Revit (unless theres a third party app).  Would there be any issue withi this?  Utimately I am pushing these parameters into new geometry and I would like them to better conform to a standard for a particular customer.  I rennamed JUST the parameter name and it seemed to work ok. 

View 2 Replies View Related

AutoCAD 2010 :: Create DAT File From Output Of LISP Program In Command Window?

Apr 18, 2013

I wrote some LISP programs. I would like to use the output data generated by LISP program in Command arear of AutoCAD. I Heard we can dave the output data into .dat files.

View 9 Replies View Related

AutoCAD VB :: Pass Data From VBA To LISP?

Aug 5, 2011

 I installed AutoCAD 2012, under the function, passing data from VBA to LISP, with the 2008 was working perfectly, now with 2012 no longer works.

I read in the Local Variables:

SymbolName ="#ListaNomi" is ok
value ="()" is ok
Sym = Nothing
VL is ok by me "Visual Lisp"

[code]...

View 1 Replies View Related

AutoCad :: Pass Protection On A Block

Apr 16, 2013

I would like to know if i can put pass protection on a block and have no one be able to change thing about the block? So what I mean is I send you a block that has pass protection on it, you can paste it into your drawing but cannot explode it to make some change on it.

View 3 Replies View Related

AutoCAD Inventor :: How To Pass Variable From One Addin To Another

Aug 25, 2013

I've used vb.net to write two separate addins.  I was wondering if there is a way to pass a variable from one addin to another similar to the way shared variables are passed from rule to rule in iLogic.

View 2 Replies View Related

AutoCAD Inventor :: Pass Array To External Rule?

Nov 26, 2013

Is there any way to pass an array from an internal rule to an external rule in iLogic?

View 2 Replies View Related

AutoCAD Inventor :: Pass Variable From VBA To ILogic Rule?

Sep 20, 2011

We are using Inventor 2011.

I have found a rouind about way to display document thumbnails in VBA in 64 bit windows 7 inventor.

The only piece of the puzzle I am missing is for a way to push a document object or a document file name into an iLogic Rule from VBA. 

Below is a 64 bit thumbnail solution for VBA sans the input.

Essentially I am launching an iLogic Rule from VBA that pushes an inventor document object into a VB.NET dll.

The dll converts the iPictureDisp into a VB.NET image object, reduces the size then converts it into a byte array.

The byte array is passed back to VBA through the same iLogic Rule.

Once the byte array is received it is converted back into an iPictureDisp object.

' ----------------------------------------

' --- VBA Project Form Code ---

' ----------------------------------------
Option Explicit
Private Sub Command1_Click()
End Sub

' -------------------------------------------

' --- VBA Project Module Code ---

' -------------------------------------------
Option Explicit
Public Sub SetPic(ByRef bBuffer() As Byte)
Set UserForm1.Pic.Picture = PictureFromRes(bBuffer)
End Sub

[Code]....

View 9 Replies View Related

Photoshop :: Angle Parameter Of Drop Shadow Layer Style Reverts To Default When Reloaded In New File

Mar 27, 2013

My questions is how to prevent the following from happening. I created a layer style drop shadow in a .psd file with the below parameters.
 
I saved it as an .asl file that I could use later. When I loaded it into a different .psd file later that day some parameters stayed the same but the angle reverted back to 30 degrees from 120 degrees all on its own as shown below.

I just want to know how to keep layer style parameters I saved in an .asl file from reverting back to defaults when loaded in to a new .psd file.
 
My systems parameters are as follows:
Photoshop CS6 Extend Version 13.0 x64
Mac OSX 10.8.2  with 705.44 GB used out of 749.3 GB available

The only other software I am running is Safari web browser. This is my first time trying to save a layer style and use it in a different .psd file other than the one I created it in.

View 3 Replies View Related

AutoCAD .NET :: Pass String With Quote Marks To Lisp Command

Aug 10, 2012

I have created a string:

strAttValue = ("3/16""=1'-0""")

or alternatively I've tried:

strAttValue = ("3/16" & Chr(34) & "=1'-0" & Chr(34))

that I would like to pass to a lisp with the format:

(defun lispTest ( strAttValue / )

but when I do it errors with "Too many variables." The passing method is as follows:

acDoc.SendStringToExecute("(lispTest" & Chr(34) & strAttValue & Chr(34) & " ) ", True, False, False)

If I get rid of the quotes in the original string it works fine, but the quotes are needed.

View 4 Replies View Related

Photoshop :: CS3 Cannot Save File Because Of Program...

Apr 6, 2008

When I go to save a file in psd i keep getting cannot save file because of program error and when i go look at the saved file it is now something like this ~ps7574.tmp the numbers are always diffrent..but I loose my file..I cannot do anything with a .tmp file. I have unistalled and re installed and it keeps doing it..

Computer Info:
Dell xps420 Windows Vista 32 bit

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Tangent Line And Pass Through Two Points

Aug 20, 2012

We have a need to select a tangent line/polyline etc and then select two other points we would then like to have the program draw an arc through the two points and yet still be tangent to the initial line/polyline that we picked.  We don't care what the radius is as we believe there is only one solution anyway.  It would be wonderful if we could just use the Arc command and select start>Second Point> then just use the Tangent Osnap but I guess that is out of the question :-)

The only code that I have come across that even resembles this only allows for one point not two (STILL VERY HANDY AND VERY SLICK)

(vl-load-com)
(defun near_vertex_arr (obj / dxf_obj e_next obj_vlax pt_sel par pt_first pt_snd i bulge)
;bruno.valsecchi

[Code]....

How does everyone else hande this?  By they way... I dont care what language it is written in :-)

View 7 Replies View Related







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