AutoCAD .NET :: Possible To Store String Array To XRecord

Jul 22, 2011

Is it possible to store a String Array to an XRecord?

View 1 Replies


ADVERTISEMENT

AutoCAD Visual LISP / AutoLISP :: Changing String Of Text / Multitext / Dimensions To Another String

Nov 16, 2012

i failed to find one which would change string of a text to other for all types of objects. I mean it was usually either only multitext, or only text, dimensions or attributes.creating one which would change in abt 200 drawings:

-001

-002

-003

to:

-00001

-00002

-00003

in attributes, text, multittext, leaders, multileaders, dimensions..... at the same moment?

It is meant to be used in ScriptPro (by loading lisp in script).

If not possible, then can also open each file and run the lisp in each of them - still would save lot of time.

View 4 Replies View Related

AutoCAD LT :: Getting Array Window In 2012 To Open With Array Command?

Sep 30, 2011

How does one get the array window in 2012 to open with the array command like it does in 2007

View 2 Replies View Related

AutoCad 2D :: Use Path Array Feature On 2013 To Array Stairs

Sep 19, 2012

I'm trying to use the PATH array feature on 2013 to array stairs, and I can't get the array to be 100% accurate. It seems like CAD rounds the decimal to the nearest 3/4" which could be causing the problem.

I set my run to 10.5" and rise to 7.25", array along the angle of the stringer, and there's always a small overlap on the stairs. The "distance between" should be 1'-209/256" and CAD rounds it to 1'-3/4" which is where I believe the error is. Is there any way to fix this or array this correctly? Otherwise...back to the COPY method I suppose.

View 4 Replies View Related

AutoCAD .NET :: Why Cannot Write The XRecord

Jul 30, 2011

Why the xrecord not save?

 public static void SaveInscCad(ObjectId idEnt, string InscCad) {
Database db = AcadAppServices.Application.DocumentManager.MdiActiveDocument.Database;
using (Transaction tr = db.TransactionManager.StartTransaction())

[Code] ....

View 2 Replies View Related

AutoCAD Inventor :: Remove Iproperty Mass Unit String From Mass Value In Text String?

Oct 3, 2011

I've been looking for a solution to remove the unit string ie Lbs, g, kg from the value given from a 'Mass' value in a text string.

As you may all know, creating text and having a 'physical property - mass' value...the unit string is there...

Lots of people on here have the problem...no-one has got a solution.

Until now...

Basically...open the part you need to get the mass property of in your text string.

Follow the instructions on this webpage...this is the first part...

[URL]

Basically, this creates a Mass property value in the parameters table that you can call on as a text parameter.

It's similar to the custom iproperty model - mass but NOT the same.

Once you have done this, you can go to the drawing of the part and create a text string in the drawing and call it up as shown in this procedure. BUT it still has the unit string.

Here's the best bit that you want to know...

To get RID of the unit string...open up the part again from the drawing...click on the parameter icon...find the user parameter...in the Nominal value column, right click on the value and you get a pop-up that gives you 3 options...

Custom Property Format, Make Multi Value & Delete Parameter.

Click on Custom Property Format.

The pop-up window comes up...showing you the property type...in my case...the 4 left columns read Text, g (grams), Format & Precision...

On the right hand side I have a Preview of the text...then 3 check boxes...Units string, Leading Zero's, Trailing Zero's.

Units string is checked.

Uncheck it.

Close it...Save your part...go back to the drawing and hey presto!...the text now shows the weight you require as a straight value...no units!

View 9 Replies View Related

AutoCAD .NET :: Attaching XRecord (Extension Dictionary)

Sep 25, 2013

Show me a very simple code-example, how to attach an extension dictionary to an AutoCAD Object and add a XRecord? 

View 3 Replies View Related

AutoCAD .NET :: Find Xrecord Of Entity In Drawing

Oct 27, 2011

How do I get the xrecord attached to an entity in a drawing, without key?

View 1 Replies View Related

AutoCAD .NET :: Modifying XRecord Changes All Xrecords In Dictionary

Sep 6, 2011

I have a dictionary in the NOD with several xrecords. I want to change an entry value in one but the others in the dictionary also get changed. How would they be connected?

This is some simplified code that looks at two xrecords, changes one, then reports the new values. Weird thing is that both xrecords get changed.
 
For i = 1 To 2 XRecId = MyAppDict.GetAt(i) XRec = trans.GetObject(XRecId, OpenMode.ForRead) ed.WriteMessage(vbLf + "XRecord: " & i & " First Entry: " & XRec.Data(0).value) Next XRecId = MyAppDict.GetAt(2) XRec = trans.GetObject(XRecId, OpenMode.ForWrite) Dim data As ResultBuffer = New ResultBuffer(New TypedValue(DxfCode.Int16, 2), New TypedValue(DxfCode.Text, XRec.Data(1).value)) XRec.Data = data For i = 1 To 2 XRecId = MyAppDict.GetAt(i) XRec = trans.GetObject(XRecId, OpenMode.ForRead) ed.WriteMessage(vbLf + "XRecord: " & i & " First Entry: " & XRec.Data(0).value) Next

View 2 Replies View Related

AutoCad 2D :: Edit One Text String And Same Change Can Affect Another Text String

Jan 12, 2011

I was wondering if there is a way that AutoCad can edit one text string and the same change can affect another text string, instead of editing the same thing twice.

View 9 Replies View Related

AutoCAD .NET :: Serialized Custom Object To XRecord Can Not Save DWG

Mar 12, 2012

I have polyline that graphically represents a pipe.  Obviously, the polyline can not contain data for a pipe: size, material, insulationtype, insulationthickness, schedule, etc.  So, I have created a custom object with all of the appropriate properties, methods, events, etc that I need for it to behave as a pipe.  My custom object has a reference to the actual polyline with a Handle property stored as a long(since AutoCAD objects can not be serialized).  I referenced an AU 2008 class by Jeffery Geer (A Pattern for Storing Structured Data in AutoCAD Entities CP401-2) to get me as far as I am.

My object is marked serializable.  I serialize it to binary and attach the binary in 127 byte chunks to the xRecord of the polyline object.However, as soon as I attach this binary xrecord, I get the following message when I try to save the drawing:

"One or more objects in this drawing cannot be saved to the specified format.  The operation was not completed and no file was created”

View 5 Replies View Related

AutoCAD .NET :: Update Xrecord Data Attached To NOD Or Object

Jan 24, 2011

Question, Is it possible to update values stored in an xrecord. If not what is the best aproche my goal?

View 1 Replies View Related

AutoCAD .NET :: Modifying XRecord Within File Header Sub Directories

Jan 8, 2014

As you can see in the attached print screen TheProblen.png I need to modify the XRecord within a file header sub directories.

I have managed to loop through the file directories and sub-directories and even extracted the ResultBuffer of the correct sub-directory.

I now have a ResultBuffer/XRecord that has an array of typed values in it and I need to modify one of the typed values. How do I do it?

View 1 Replies View Related

AutoCAD .NET :: How To Store ObjectID

May 31, 2012

I can store some ObjectId from my drawing to text file. After that how we can get back ObjectId from string read from that text file. Or have a diferrent way to store the ObjectID.

View 3 Replies View Related

AutoCAD .NET :: Store Data In DWG File?

Jun 28, 2011

Is there a location I can store large amounts of retrievable data in the DWG file?

View 9 Replies View Related

AutoCAD Map 3D :: Store Style Of GIS Data?

Jul 4, 2013

We have some data in SQLite, and i want to know, what is the best practice to store the style. Now my practice is: i finished the stilization, and save them into *.layer files, then load them with workflow into a new drawing. It works fine, but i have some problems and questions:

- The Map layers order is not working well. If i have only one Map layer, with polygon features (they have label), the label is disappear in most cases (its loaded, but the polygons uncover the labels). I have to click the polygon feature, then i need set Draw Order -> Send to Back command (and this is not working well all of the time). In the drawing data is a very useful command to send all hatch to back (hatchtoback). I want to do this, but with feature data.

- I want export the Map layers (with these styles) to drawing layers, so the drawing object get the feature data as object data. I know the mapimport command, this doint as well, but i can't load the style. I need to create drawing layers, wich contains the feature data, and have a nice style (set from *.layer files).

- How many layer can i load with workflow? Is it stable with hundred of layers? Is parallel the fastest method?

In my opinion: Map layer = contains feature data

Drawing layer = contains drawing data

View 2 Replies View Related

AutoCAD Inventor :: Store Information In A Balloon?

Nov 16, 2012

I'm using balloons to get information from parts, then writing that part info to a custom table.  I need to keep track of which balloon corresponds to which table row.

Is there some object/property of Balloon where I can store a single number or string?  I'm already using the value field, so that's unavailable to me.  

Also, one balloon corresponds to one table entry.  That means I cannot create a custom iProperty in the part the balloon is attached to since more than one balloon may reference the same part.

Win7 x64 - 16gb ram
i7 3610qm
FirePro M4000
Inventor 2013
ETO 6.1

View 8 Replies View Related

AutoCad :: Store Linear Dimension Properties

Nov 23, 2012

How I can get AutoCad to store my preferred "linear dimension" properties (i.e. arrow size, line weight etc).

Currently the standard setting are not what I use and every time I open a new drawing I have to go into amend a new linear properties and also any new linear dims I create has the standard settings.

I usually create one then "match" it's properties but it's still a bind creating the first one correctly.

View 8 Replies View Related

AutoCAD .NET :: Cannot Store Multiple Selection Sets

Nov 15, 2012

From the AutoDESK docs [URL] ......

"AutoCAD.Application.ActiveDocument.SelectionSets. Add method
Not needed/provided" in VB.Net

Thus 'Autodesk.AutoCAD.ApplicationServices.Application. DocumentManager.MdiActiveDocument.SelectionSets' will not work.

So, I can't store multiple selection sets in VB.Net?

Why is it not provided? Or is there some other way to do that?

View 9 Replies View Related

AutoCAD .NET :: How To Store Data That Can Read By Navisworks Manage

Dec 25, 2012

I want to add additional information to objects create using Autocad.

But I want the data to be read by Navisworks Manage.

How can I put the data? Is it using xdata, NOD or any other type?

I'm using Autocad 2011 and visual express 2010

View 4 Replies View Related

AutoCAD LT :: QuickCalc Variables / Store For Use At Command Line

Oct 18, 2013

I have a few dozen variables that I am trying to store for use at the command line. I can only append to input area with the actual quickcalc open, how i can reinitialize the global variable list? 

View 9 Replies View Related

AutoCAD Inventor :: Store Object Inside Document

Sep 7, 2012

My goal is to be able to store any object type (mainly an image jpg/bmp) inside a part that is not accessable through the normal user interface to be used with my addin.

I have been searching around and it seems like GetPrivateStream is the way to go.

Any working example of GetPrivateStream in vb.net and confirm if it actually stores the data inside the part.

I can't find a solution anywhere or any decent referencing material for this. If there is a better method of achieving this?

View 9 Replies View Related

AutoCAD Architecture :: Convert Store Floor Plans To DXF Format

Nov 8, 2011

I am trying to convert Store Floor Plans to DXF format for use in JDA software. Problem is, the part number attribute on the fixture (fixture is a block) is visible when you pull the DXF in on the other software. Is there a way to turn off attributes without losing them before I convert the file from AutoCAD? I will be pulling the files back and forth between both software programs.

View 1 Replies View Related

AutoCAD Civil 3D :: Preferred Database To Store Survey Points

Apr 9, 2013

Which is the preferred database to store survey points?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Looping Through Attributes And Store Values?

Mar 19, 2013

I have an interesting challenge. I am tasked with updating old drawings. The only difficulty that I've run into with the old files are that the TitleBlocks are all done with all of the attributes are named "SPEC". There are 90 attributes. I'm really struggling with getting each attribute's value and then storing the value to a variable so that I can then put that value into a new TitleBlock. The old TB will be deleted to avoid future confusion in the file.

(To clearify, the old TitleBlock is in model space, while there are actually nine new TitleBlocks all in seperate paper space Layouts, and this program may have to run on hundreds of files.)

getting the values from the Old TB. I need them in order of first to last or last to first (either way will work since I have the variable names in a list that can be reversed if necessary.) 

simple function to read through the block's attributes in order and store the attribute's value to a variable name in the seperate list (also in order)?

View 5 Replies View Related

VideoStudio :: Store On Blu-ray Versus DVD

Apr 27, 2013

I recently started a project to transfer all home movie media to hardisc and then to BD and/or DVD. My goal has been to transfer home movies to discs with a menu and chapters... nothing very fancy. The media includes VHS, digital 8, and probably video 8 (in-laws videos). I'm also looking at a Sony Handycam HDR-XR500 that I plan to back up to hard drive and probably disc for easier viewing. I've only just started with one VHS tape and about 25 digital 8 tapes. I essentially used the default capture settings for the VHS (NTSC DVD, 8GB, MPEG-2, 720x480, 30 frames/sec). I used the DV Quick Scan to capture all the digital 8 (microsoft AVI, 720x480, 30 frames/sec). I then started fiddling with the Create Disc under Share. This is where I've started to run into questions.

I had assumed that it would be better to start recording to BD. I've read that they have a longer shelf life than DVD although I'm happy to keep copies on hardisc. It seemed intuitive than I could fit more files on a 50 GB BD than on an 8 GB DVD. It appears I am wrong. When I test out BD and DVD recordings under Share, it seems I can't fit many more films on BD.

I had hoped to use the greater capacity of BD to store as many movies as possible and not have a large number of DVDs. Is this possible for digital 8, VHS, or the the anticipated video 8? If so, what capture settings should I use to keep reasonable quality? I suspect I'll need to recapture the original VHS at a lower bitrate which is ok. I'm looking at a box of about 40 VHS tapes from my folks that are untouched.

On a related note, I have found that I can label chapters when editing. These chapters are picked up in the Share-->Create Disc-->Add/Edit Chapter-->Auto Add Chapters, but none of the chapter labels are imported. Is there a way to do this without manually typing each label again when editing the menus?

Finally, I plan on capturing some of the video to external hardrives. If using USB 3.0, will the editing and capturing still work, or will I need to work with files on C?

View 4 Replies View Related

Photoshop :: Where Does Cs3 Store Color...

Aug 27, 2008

Where photoshop cs3 store color setting? I mean ****+Ctrl+K
for PC XP SP2 with last update

i thought photoshop cs3 stores here
C:Documents and Settingsuser application dataAdobeAdobe Photoshop CS3Adobe Photoshop CS3 Settings

in the file Color Settings.csf but it's not

because i backup this file , change the color settings , and overwrite the file , the color setting did not change

where photoshop store the color settings?

View 4 Replies View Related

Photoshop :: Store Custom

Aug 10, 2008

where Photoshop (CS3) stashes the files for Custom Actions, once you create them? What does it call them? I'd like to export an action I created on one computer into another computer.

View 2 Replies View Related

AutoCAD .NET :: Convert String To ObjectID

May 2, 2006

It is possible to convert an ObjectId into a string. But is it also possible to convert a string/int into an ObjectId?

I want to save some ObjectIDs to a text-file to use them later. But I haven't found something to convert them back.

View 7 Replies View Related

AutoCAD Inventor :: String From DocumentTypeEnum In C++?

Jun 11, 2013

is there a function which returns the currently open document type as a string, something like this:

const char* const GetInventorDocTypeDesc(DocumentTypeEnum eDocTypeEnum);

View 2 Replies View Related

AutoCad 2D :: Get Coordinate String Of Polygon?

Jun 5, 2013

Possible to easily get a coordinate string of a polygon?

As in the coordinates of each of the vertexes within a polygon?

For example Easting1,Northing1,Easting2,Northing2, .... etc)

View 6 Replies View Related







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