AutoCAD .NET :: Make Installer From Class Library Project?
Dec 10, 2013
I have created one class library project using .NET API. So now I want to convert that project into the Setup project means I want to make installer for it. After that it installed, I want my plug in in the ribbon menu.
I don't normally use libraries. I'm just not a big fan of them, so if I'm wrong here about a basic concept it's no surprise. My understanding was that if you add a folder location to a project under the library heading (see image) then everything in it automatically becomes read-only when that project is active.
My intention was to test some of 2014's functionality on products that I have drawn in 2013 without mucking up my other designers who I'm not ready to upgrade, yet. So, I copied some assemblies over to a new folder on my network completely outside of the root folder of the normal working directories. I then assigned that working directory as a library in the new project file I created in 2014 specifically for testing it. I expected this to allow me to open my files without a bunch of unresolved reference problems and not have to worry about accidentally migrating files that I'm not ready to migrate.
So, why did I still manage to migrate a bunch of file that are located in the working directory that's supposed to be write protected?! Now I have actual product files that can't be opened in 2013. Luckily, I can restore these from a back-up, but what did I miss here? Did I not check a certain box somewhere or am I missing the whole concept? I really doubt this critical function of Inventor is somehow bugged in 2014.
I have a lot of project files to migrate from INVENTOR 2012 to 2013. So I created an VB.NET application to get and check out all project files from my VAULT, change the different paths and check in the files in the vault. However, I need to include the new material library in each project files.
I found that we could change almost everything, but not include material library.
I cant change this to read / write. I'm using a vault project. Anyway of doing this so I can save materials to the style library using a vault project?
I just upgraded to Windows 8. All with Videostudio X5 is working fine, except MP3 files will not play in the Library. I get this strange hiss. If I drop the mp 3 file into the time line on any audio track and then play the project it plays fine. Wave files play fine. I did a uninstall and re-install of X5 to see If that would fix the problem.
How to create automatically for each project, a desktop library identical with the same folders (DigitCut, Elemts, Conformation, Rushes, Audio,...), each graphic artists will be able to work with the same tree?
I have somehow managed to save a rendered project in another projects library.In the share tab I cant find a way of browsing to this rendered (vsp.mpg) file in order to open it and continue in the create disc process.
I have a Revit file with over 1,000 materials and associated appearance assets. It was created in a previous version of Revit before library support. What I want to do is create libraries from them. However, the only instructions to add them one at a time using dragging and dropping. That will take me days to do. Is there a way to simply create an asset or material library out of multiple materials from a project file at one time without having to individually select them?
How do I make a style in the library standard? I made new styles in the library for a revision table and parts list, but when placing them in an IDW I always get the standard tables.
It's not a big deal to change it in the format tab after placement, but when having 50+ sheets/daily its getting annoying.
i need to make a list of all the coordinates (X,Y) or (X,y,Z) of all the points in my project
the shape of my project look like an Eclipse
i made it out of 236 points ... i want to to put all those points in a table of ( X,y,Z ) ... i think there is some kinda output that can do that for me
iam uploading a vedio on youtube to show u what iam talking about
[URL]....
just a list of X,y,z of every point how i can do that ?
I am trying to make this conic shape for a fabric umbrella project. I have the outline in poly lines with the top column 3m below. I am just struggling to create a surface to represent the fabric membrane using the surface or mesh tools.
I'm trying to figure out how to make a skewed corridor region for a bridge project (just one assembly I need to skew) the rest of the corridor is split into regions, the approach slabs and bridge deck assemblies are at about a 30 degree angle to the alignment.
I am working on custom subassembly and I would need different scenarios for different radiuses along the alignment. Is there a way how to find out this current value?
Program, AutoCAD 2010 VBA..I normally use the following code to get attributes from a drawing.
Public Sub array1Initialize() For Each elem In ThisDrawing.ModelSpace If elem.EntityName = "AcDbBlockReference" Then If elem.Name = "SPREAD SHEET INFO" Then [code]....
The attributes are in an array called array1. This works in my form module but when I move it to a class module I get array1 is not readable. is there any sample code that gets attribute in a class module?
I would like the size of bearing to be included in addition to existing data to the File name, Part number and Browser name like for example the DIN 625 T1 does. I have copied the DIN 625 bearings to the custom library. I have added required info to File Name building and to the Part Number building in the custom library and now my Filename and Part Number are as I like to.
But I cannot find how to force the Browser name to be equal to Part number or File Name? [URL]
I used it to clear out the old vertex information, and then add new vertex points.All works on the screen until you use the undo command then all the vertex points are lost. Just created new polylines and deleted the old to fix it. Not ideal as I was storing the ObjectId’s in Xrecords, which now have to be updated with the new id’s
We use several different classes of steel such as A572-65 or A572-50 etc. Any way to add those values in Inventor 2014 without having to reinvent the wheel?
I am just beginning with the 2014 AutoCAD. It continues to tell me to open sample drawings from the "Class file folder" in the text book. I have not been able to locate this folder with the samples in it. Where would this be located?
I brought in an .SDF file containing survey points into a new drawing.
When I use "style" to format the labels I get the symbol displayed but the text doesn't show up till I hover over the point with my cursor, and they dont stay visible when I move the cursor away from the point.
When I use "Feature Label" I can get a symbol but no text, even if I hover the cursor over the point.
I have set mapsrtyle to "Enhanced"
I would prefer to use "Feature Label" because of the additional features it offers.
I'm trying to create a property in a class "extractTitleBlock" which searches through the "ExtractBlockRef (AttRef List)".
How would I search through a list of the class object above it?
Public Class extractTitleBlockInherits extractBlockRefPublic ReadOnly Property Description_Concantenated() As StringGet'Function to Get 4 Attributes and Return Concantenated StringEnd GetEnd Propertyend ClassPublic Class extractBlockRefInherits extractEntityPublic Name As StringPublic Space As String
How to use the Surface Contour Label Group class in the .NET API.
My first guess was that I had to create an instance object of the class and name it, and then use a "Create" method (e.g., CreateMultipleAtInterval) from there, like this:
Dim labelgroup As SurfaceContourLabelGroup
labelgroup.CreateMultipleAtInterval(arguments)
However, this doesn't work, as Visual Studio told me "Warning: Access of shared member, constant member, enum member or nested type through an instance; qualifying expression will not be evaluated."
So i have managed to get my VBA apps working up to version 2010 (with the AcFocusCtrl). I just upgraded to AutoCAD 2012. For some reason I cannot get the ACFocusCtrl on my VBA userform. When I try to drag it onto the userform, I get an error "Class Not Registered". how I can load that control?
Every time I try to run a tool from the tool palette like dragging an AEC block into my drawing I get a pop out window saying: "Unable to execute the tool - Class not registered" why this is happening on Autocad Architecture 2010?
I'm having trouble making my project fit all screens.
This is my project link: [URL]
I've made this project 7000px wide - scrollable horizontal - with a fixed object (the shopping cart) to make it feel like you are pushing the cart along the street. I then set height to about 1200 px, to prevent the bottom of the screen to go white.
I want this project to look good on mobile, iPad, laptop and PC/Mac - both orientations.
I thought I was in the clear with theese settings, but checking it on a small screen (laptop), the bottom of the stage fell out of the screen. And we can't have that...
I tried setting the height to 100%, tried having a smaller height (800px) and setting the background color to green, tried hiding and showing the overflow, but I can't seem to hit the perfect settings for this to work.
My inspiration comes from this project:[URL] Now, this works - as far as I can see - on all screens, both orientations.