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


ADVERTISEMENT

AutoCAD Civil 3D :: Criteria Based Vertical Profile

Jun 5, 2013

How do i correct the veritical profile for a given vertical gradient of 1 in 150 of 1200 etc and so on.

View 3 Replies View Related

CorelDRAW Graphics Suite X6 :: Select Based On Criteria On Single Page?

Apr 27, 2012

Is there a way to select objects like selecting all rectangles filled with red colour on the current page only. The find objects is not good for current page only. it works for whole document..so, any option?

Windows 7 [64-bit], Core i3 - 3.02 GHz, 4GB DDR 3 RAM

View 3 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Larger Routine To Create And Rotate Text Based On Object Selected

Dec 29, 2011

the expression in question is part of larger lisp routine to create and rotate text based on the object selected and the viewtwist variable (we use dview twist to rotate our views when needed)

So the expression in question:
(< (/ pi 2) ang (* pi 1.5)
where ang is the total angle used to determine proper rotation of the text.

Now the problem. In most cases where ang = 90 (or 1.5708 radians) this works fine. the two exceptions i have encountered

in testing are a line at 70 degress, viewtwist 20, and line at 50, viewtwist 40. For whatever reason at these two conditions the expressoin evaulates True instead of nil and rotates the entire text object incorrectly (180 degrees). So question is how exactly is this being evaluated? i know its comparing ang (* pi 1.5) to (/ pi 2). is there some sort of rounding error? or maybe the expression needs a wee bit more definition? attached image and full lisp routine for reference of what is happening, blue text is angle of the line as created by routine at viewtwist 0.

View 1 Replies View Related

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

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 Visual LISP / AutoLISP :: How To Loop Based On Number Of Selected And Filtered Objects

Jun 13, 2013

I am looking for a way to extract (filter) all polylines, and loop a lisp based on the number that are found within a "W" selection window.I am frustrated getting "malformed list" or errors, even after defining "n" for repeat.The code I have so far looks like this:

(defun cWW (/ p1 p2 sspw myObj ss)
(setq p1 (getpoint "
Pick first corner: "))
  (setq p2 (getcorner p1 "
Specify opposite corner: "))
  (if
   (setq sspw (ssget "W" p1 p2 '((0 . "*POLYLINE")))
 [code].....

Without the (repeat () portion, it was working ok with selection window, however it only would run the commands for a single polyline.  What needs to be done without overhauling the code?  The lisp has worked on a drawing-wide basis, however needs to run on only on user-windowed polylines since there are other polylines within the drawing which are attached to layouts via viewports. 

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Select Dynamic Block Based On Previous Selected Point

Apr 9, 2012

For a program i am working for i have to extract the base point of a dynamic block.

This can be done perfectly by this function:

(cdr (assoc 10 (entget (car (entsel)))))

But i want the entity selected based on a previous slected point. So for example when i selected pt1 (which is a point at the border of the dynamic block) i want to be able to extract the base point on the block whit this point.

View 8 Replies View Related

AutoCAD Inventor :: Remote Users Who Must Have Access To Files Via Viewer

Apr 23, 2013

We have a number of remote users who must have access to our files via Inventor Viewer.  When reviewing the system requirements for Inventor Viewer 2014, I noticed that it lists only Windows 7 and Windows 8.  Was XP omitted by mistake, or will Inv Viewer truly not work on machines running XP? 

View 6 Replies View Related

AutoCAD Civil 3D :: Sharing Custom Projection Files With Multiple Users

Jul 29, 2013

How to share custom projection files with multiple users?  I created a custom projection for C3D on my computer, now I need to give it to several other people.  Can't seem to find where this file is stored.

C3D - 2014,

View 2 Replies View Related

Revit :: Multiple Users - Create Local File Tab Is Grayed Out

Sep 12, 2013

We have just installed a new server at work. We have transfered all of our Revit files to the server and resaved them as central files. We cannot seem to create more than one local file per Revit file even though we have already set up the file as a worksharing file. The one that sets up the Revit file is the only one that can create the local file. For the other user the create local file tab is grayed out.

View 4 Replies View Related

AutoCad 3D :: Create 3D Shapes Based On 2D Drawing

Feb 6, 2013

How to do the automatic creation of 3D solids based on plans and sections element. How 3D objects are created in prosteelu.

View 9 Replies View Related

Photoshop :: Sharing Pictures & Files Between Users

Jan 22, 2009

when i unload my camera into my catalog adobe photoshop on my user screen my wife is unable to view the pics. is there a way where i can share the pics among everyone?i should say that when she looks on them they have red 'x' on them and can't find the file but if you change to whose ever user screen i downloaded the pcs on they are fine pictures vista

View 1 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 .NET :: How To Create 3D Polyline Based On Point3D Collection

Aug 23, 2012

I want to create a command:

My selection set consists of dbpoints that exists on my drawing and they are more or less in line

I create a new point3dcollection with this db points

I want to create a 3d polyline based on this point3d collection

My problem is : how to sort this point3d collection based on a picked start point and picked end point?

The only idea I have is:

from start point i calculate the distance to each point3d from collection and based on the results i sort the point3d collection based on distances.

View 2 Replies View Related

AutoCAD LT :: Create Block Array Based On Prompt

Jun 14, 2012

My vision is when someone inserts "block A", a promt will come up and ask "how many of "block A" do you need?" Based on how many you need, it will insert the block along with the arrayed amount the user has typed in.

View 1 Replies View Related

AutoCad :: How To Create Three Side Based Pyramid As A Solid

Dec 15, 2011

I want to create a pyramid with a base of three sides with different lenght. In the end i want to have a solid where i can drag and move the notes to change the hight,lenght and the angle of the sides.

I already managed to draw it in 3d but now i want to convert the drawing into a solid and keep it flexible to change the parameters by draging the notes.

I also tried to extrude a triangle with a specific angle but then i was only able to move the top note up and down changes the hight. Doing it this way the top note also kept beeping in the center-point of the triangle.

View 7 Replies View Related

AutoCAD Inventor :: Unable To Create ILogic Form

Aug 31, 2012

I have one particular file which will not allow me to add an iLogic form. When I select "Add Form" it does nothing. This only happens in this one file. I can open other files in the same session and they work fine. I can add iLogic rules to this file but I can't create forms.

View 3 Replies View Related

AutoCAD Civil 3D :: How To Create Surface Form Contour

Jul 28, 2011

I would like to create surface from contours and extract points (with value) from on it. I had contours in my drawing; each major and minor contours are single polyline with elevation (Z value).

If I create surface form CONTOUR, some polylines (major or minor) are not included in to surface. After the creation of surface, I tried to erase the existing contour lines (Polyline) from drawing but the surface will be disappearing.

If I create the surface from ''DRAWING OBJECTS'', I'm not able to select the polylines (attachment 01) .

View 9 Replies View Related

AutoCAD .NET :: Create A Selection Set Based On A Specific Multileader Style

Jan 17, 2012

how to create a selection set based on a specific Multileader style? I can currently creating a typedvalue array to define the filter criteria, but cannot find the DXFCODE for the Multileader style.

Ex.

TypedValue[] acTypeValAr = new TypedValue[1];

acTypeValAr.setvalue(new TypedValue(DXFCODE, "Multileader Style"),0);

View 2 Replies View Related

AutoCAD .NET :: ELockViolation Error When Create Text Form DataGridView

Nov 29, 2012

I want create text form datagridview.

I have a issue about eLockViolation i could not solve. See my project? Its use VB.NET.

View 1 Replies View Related

Photoshop :: Convert Full Resolution Files To Web Based Files

Jun 6, 2012

I am working on a museum project. I have been asked to convert full resolution files to web based files using "Save for Web and Devices". The problem is in the file naming. Museums typically use accession #s for each work. Example   1999.63.102  So the digital file would be named 1999.63.102.jpg (or tif).

When I attempt to save the file using "Save for Web and Devices" the resulting name is converted to 1999.jpg  I believe the . (periods) to be the culprit. There are hundreds to do so renaming is not an option. This does not occur when I use "Save as".

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

AutoCAD Inventor :: Create Parts List Macro - Position Based On Style

Oct 19, 2011

I have a macro that I acquired somewhere (possibly these boards, can't remember now) for placing a parts list.  I have modified it somewhat to change the location on the sheet where the list gets placed, as well as a sub that starts the autoballoon command afterward.

The macro is set up to place the parts list in the upper left corner, by adding the parts list width to the Mini Point of the border.  This works perfectly well, except that we have two parts list styles, and they are differently sized.

What I would like to do is have the macro detect the parts list style, and change the offset value depending on which style it finds.  I am an extreme novice with the API, who basically knows just enough to tweak sample code a bit, and have not been able to find anything close enough to use as an example.

How I should go about this, or even post some samples of something similar?  Current code is shown below.
 
Public Sub CreatePartsList() On Error Resume Next ' Set a reference to the drawing document. ' This assumes a drawing document is active. Dim oDrawDoc As DrawingDocument Set oDrawDoc = ThisApplication.ActiveDocument 'Set a reference to the active sheet. Dim oSheet As Sheet Set oSheet = oDrawDoc.ActiveSheet ' Set a reference to the first drawing view on ' the sheet. This assumes the first drawing ' view on the sheet is not a draft view. Dim oDrawingView As DrawingView Set oDrawingView = [code].......

The macro does not have to set the parts list style - that is controlled by the drawing Standard.  It just needs to detect what it is, and place the list accordingly. 

View 7 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Create Text Based On Room Dimensions?

Dec 19, 2012

make a LISP that will work with my room dimensioning? I'd like to be able to specify the width and depth of the room using a command similar to the "dist" command, and then click a point to place a text based on the distances gathered. I'd also like the text to be formated into architectural units and displayed like this: 12'-0" X 13'-5". Also, if possible, round the result to the nearest inch (to avoid 1/2" and 1/4" dimensions).

View 9 Replies View Related

AutoCAD Civil 3D :: Create Figure Prefix Form Excel Spreadsheet / Access

Apr 19, 2012

Is there a faster way to create figure prefix i.e form excel spreadsheet or access.

I have one tip also. When you modify the figure database "C:ProgramDataAutodeskC3D 2013enuSurvey" by using notepad and you add "*" after each figure it will connect during linework codes that much the prefix code and will exclude the integer, EPN1 and EPN2 will be treated as EPN

The aterisks can not be added from the civil3d .

View 9 Replies View Related

AutoCAD Inventor :: Paste ILogic Form Into Thousands Of Files

Jun 20, 2012

I have an iLogic Form that I've created and implemented into our model template files. I am manually adding this Form to all existing files. It's a time consuming process of opening the files one by one and pasting in the same Form over and over.

Any way or program has created where it will take a Form opened in a model and paste that same Form into a selected group of files?

BTW I'm also having to do this to the Drawing Resources folder of Inventor IDW and DWG files as I have updated/modified our border design on the new templates. I want all of our existing drawing files to have the new border. So again I'm having to manually open each drawing file and paste in the Drawing Resources folder then clicking "Replace" any time it sees an existing name rather than click "New" as it would then give me duplicates of those names.

View 2 Replies View Related

Revit :: Can't Create Void Form

Jul 25, 2011

I am trying to create a void form in revit architecture, i am following the quick start tutorial from the design academy website and when I try to make a void form i get an error, pics to explain:

View 1 Replies View Related

Photoshop :: Create Vector Based Pattern In CS6?

Mar 24, 2013

i am trying to use a seamless vector pattern i created in illustrator in photoshop, however when i resize it it is rasterized. is there a way to keep it a vector and use it as a layer effect?

View 1 Replies View Related

Photoshop :: How To Create Lens-based Distortion?

Oct 23, 2008

With any lens, there is an inherent distortion. I've seen grids at photozone.de in their lens reviews. If possible, I want to use Photoshop to create the same distortion my lens would create. For example, if I photograph a sheet of graph paper, the result would be a distorted grid. Can I get photoshop to take an UN-distorted grid, and distort it in the same manner? How complicated is this, if possible?

View 1 Replies View Related







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