Maya :: Cannot Write Expression In Attribute Field

Feb 15, 2012

I can't write an expression in an attribute field.

View 2 Replies


ADVERTISEMENT

AutoCAD VB :: 2011 Batch Convert Field Attribute To Text Attribute In Blocks Using VBA

Jun 3, 2011

I've got hundreds of files to convert. 

In VBA, how can I batch convert field attributes in blocks to text attributes while retaining the blocks?  Is there a simple way to univerally convert them all at onceusing VBA?  The plotted values for the fields must be retained, too.

Explode will not retain the value of the field.

Burst will not work as it explodes the blocks as well.

You can right-click on the field and slelct "Convert to text" from the RCM.  So I know that the process exists within CAD, just need to batch the process for a quantity of DWGs at a time - in VBA.

View 1 Replies View Related

AutoCAD LT :: Using Field Expression In Diesel Macro

Nov 13, 2013

Is it possible to get the value of a (custom)field expression in a LT diesel macro?

E.g. I would like to read the value of the following field: %<AcVar CustomDP.Current Revision f "%tc1">% 

I need this information so I can use it in a file name.

View 5 Replies View Related

AutoCAD 2013 :: How To Hide When No Value Is Present In Field Expression

Aug 6, 2013

I have created a Field expression inside a multiline text to extract a block attribute value, but i would like the --- value that it shows when there is no data to be extracted from the block to be invisible.

is there a Diesel expression for this?

Or an Autolisp.

or can you put in ifblank function like excel??

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Edit Diesel Expression In Field

Sep 2, 2011

If LISP can be used to edit a diesel expression in a field inserted in dtext?  I need to adjust the last number in $(+, $(GETVAR, USERI2),1) .

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Diesel Expression To Get Attribute Value?

Jan 12, 2012

I have a multileader balloon that I want to have a field that is a diesel expression that will allow me to select a block and extract the attribute value within that block. Is there anyway to do this?

View 9 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Diesel Expression For Attribute And Dynamic Block

Mar 15, 2013

I have a task where I need to automatically insert the drawing number (no path), plus two additional items, one an attribute, the other is within a dynamic block. I can achieve this using fields but now I havce to truncate some of the text.

It seems like I can't edit if I am using fields and attributes/blocks can't be used in Diesel (correct me if I'm wrong)

This is the information I have:

Filename: 123456-AS-WE.dwg
Attribute: Q2
Dynamic Block: X1 - Additional Information

This is what I require: 123456-AS-WE [Q2] [X1]

This is what I have so far: 123456-AS-WE [Q2] [X1 - Additional Information]

In other words, I need to restrict the dynamic block field to the first two characters.

View 6 Replies View Related

Photoshop Elements :: Write Tags To Images That Was Updating Tag Field In Files

Aug 11, 2013

With previous version of Photoshep Elements there was a command under file: Write tags to images that was updating the Tags field in the files.
 
Where do I find the same in Photoshop Elements 11?
 
I tried Save Metadata but it does not works (and the files are NOT protected)

View 1 Replies View Related

Maya Animation :: Changing Text With Expression

Feb 16, 2011

I have a text object (curve or beveled), and I would like to change the text itself with an expression. Is this possible ?

If not, what are other ways to have evolving text ?

View 3 Replies View Related

AutoCAD Civil 3D :: Use FDO Data To Populate Custom Data Field Expression

Apr 10, 2013

say you make some parcels in your project with custom data fields like: id_no, permit_no, acres_served etc. you attach an agency provided shape file via an fdo connection that has many fields of information like above.

when you right click on your parcel and do parcel properties you get a tab that lets you input the custom parcel data.

lets say you print an fdo map label showing, say, the id_no, provided in the shape file.  Then in your custom parcel properties for id_no you type that in.

is there a way to make an expression to put in the other custom parcel properties that will read, say, the permit_no(id_no) from the fdo like and put that information in the custom parcel property field?

View 4 Replies View Related

AutoCAD LT :: Field Referencing Block Attribute

Apr 9, 2013

I am trying to insert a text field into a block attribute and setting that field to display the information of an attribute in another block.  What happens is that when I close the file and re-open it the text field loses its connection to the attribute that it is referencing.

Now, I have been able to make this work in the passed, however the difference now is that I am asking the text field to reference an attribute of an annotative block.  That appears to be the reason it does not work.

How to make this work with annotative blocks? Is it a system variable I can change?

View 5 Replies View Related

AutoCad 2D :: Field Text Match Attribute Value

Jul 6, 2011

Any success in having a Field text match an Attribute value? I can't get it to work.

View 9 Replies View Related

AutoCad :: Use A Field To Read Attribute Within Block

Jan 8, 2013

See block attached.

I created an attribute called ScaleA1, which I want to double click on this block and enter that number.

Then I created a text object with 2 fields in it. The first field is set to read the Value of that Attribute. The second field is a formula (2*Value of Attribute).

However, instead of the field displaying the Value of the Attribute, it displays the Default of the Attribute.

I hope to fix this bug so that it will update when I change the attribute from paper space.

Currently it will only update if I go into the block editor and change the default of this attribute.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Field Value Not Updating Attribute Value

Jan 29, 2013

I have created a rectangle whose length changes.The value of the paameter "Dist1" is this length field that I associate to the attribute value. Basically, echo length from Dist1 into the attrib value.

The problem is when I insert the block into the drawing the value is shown as "DIST1", even after regen. 

Once I pull the grip point to a new length and regen it still shows "DIST1".

If I go into the ddedit and select the edit box (for multiline data field) the shown value will correct itself, but only one time.

If I change the length again, the dimension does not update. 

It worked fine when I tested the block but is having issues days later.

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: How To Read Attribute Value Which Is A Field

Dec 15, 2011

(cdr (assoc 1 (entget (entnext (car (entsel))))) ...

gives the string value of the attribute, but i would like to retrieve the field value attached to that attribute.

View 3 Replies View Related

AutoCAD 2010 :: How To Choose Attribute / Field Data From A List

Mar 28, 2012

How to choose the attribute or field data from a list?
 
When using the “title block”, attributes and fields to better control the information that belongs to the drawing, then it worth to have a feature that allows selecting this information from a LIST.
 
For example, if we need to specify “location” of the project, then it is better to have sort of list from which we can select the location of the project the same we do it in the Excel (as shown in the screenshot below).
 
Is there such feature in the AutoCAD? To choose the information from a list?

View 4 Replies View Related

AutoCAD 2013 :: Unable To Re-edit A Field For Attribute Definition

Sep 3, 2013

I have created an attribute using a date field. Now I'm unable to edit it  and change or review it.

View 6 Replies View Related

AutoCad 2D :: Alter 2 Attributes / Show Properties Of Field For Attribute

Dec 11, 2013

I am a little new to assigning attributes. My company had a block with two attributes that I need to alter. When the block is inserted, it asks a quantity. The other attribute is titled location. I am told if needed, all these quantities can be totaled per drawing. It has a title of "location". Two things: How to replicate this action? And is there a way to show all properties of a field for an attribute?

View 2 Replies View Related

AutoCad :: Mtext Field Within Dynamic Block Won't Show Attribute Value?

Jul 16, 2013

I have a dynamic block.

It has length and width stretch actions activated by grips. (Works fine).

It has an attribute for the user to type in a height value. (attribute insert box appears on block insert and when double clicking block).

It has Mtext "worktop [field] High" the [field] is looking at the attribute value so in theory should return the value the user types. But no only ---- shows. regen/regenall/battman fieldeval 31

Am I missing something i have pointed the field to tag/prompt as test and they show up in the mtext.

View 5 Replies View Related

AutoCad 2D :: Dynamic Block Field In Attribute To Return Look Up Description

Oct 3, 2013

I have a dynamic flat screen tv block. Its length flexes to match the lookup table chosen size...32" 42" (the length parameter being a defined mm length) etc i want to display the 32" 42" etc items from the lookup properties table, but i'm at a loss as to how to go about it.
currently i am using an attribute with a field pointing to lookup parameter/object/lookup description string but it's returning hashes.

block.png

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Put Field Formula In Attribute Value?

Sep 7, 2011

I am trying to put a field formula in an attribute value. Basically I have a block that has a attribute called QTY and it is equal to 1. I can get the object property to equal 1 with this expression:

%<AcObjProp Object(%<\_ObjId #########>%).Textstring>%

The expression above will show a value equal to 1 (as I would expect)

Lets say I have two blocks now and I have the lisp routine combine the field values to get the expression below.

%<AcObjProp Object(%<\_ObjId #########>%).Textstring>%+%<AcObjProp Object(%<\_ObjId #########>%).Textstring>%

In the attribute dialog box it will show 1+1 instead of 2. My question is how do I get it to show 2 with out opening the formula box and evaluating it?

I have also tried.

%<AcExpr(%<AcObjProp Object(%<\_ObjId  #########>%).Textstring>%)+(%<AcObjProp Object(%<\_ObjId  #########>%).Textstring>%)>%

and

%<AcExpr((%<AcObjProp Object(%<\_ObjId  #########>%).Textstring>%)+(%<AcObjProp Object(%<\_ObjId  #########>%).Textstring>%))>%

View 5 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Make Attribute / Field In Template

Jan 17, 2013

Is it possible to make an attribute or a field in a template with page numbering for layouts? Is it possible to make an attribute or a field in a template with the name of the layout?

View 7 Replies View Related

AutoCAD LT :: Importing Drawing As Block With Field References To Attribute Values

Nov 25, 2013

We have generic drawings of assemblies we use in layout drawings as standard details.  We insert them as blocks with one or two dimensions that vary (geometry remains the same-these are just representative for information). 

We could define these as attribute values so that a user types a length that displays in the drawing but if we wish this to be part of a dimension we would have to explode the dimension to manually replace the mtext dim value with an attribute tag.

This seems unsubtle so I edited the dim value to be a field referencing the attribute value and made the tag invisible.  This worked in the drawing-the attached shows the attribute tag ALL THREAD and the resultant dimension text (as a field value) replaced with the default value LENGTH.

When the drawing is inserted as a block it duly prompts for a value for ALLTHREAD and any value can be typed-`1200, 3500, 1672 etc. but the dimension does not update from the default value LENGTH, even after using attsync, regenall.  So, if the drawing recognizes the attribute then how come it cant recognize the graphic via a field reference and update it? Is it buried too deep in the database hierarchy for LT to make sense of it maybe?

I dont want to explode the dim but it looks like I may have too if this cannot be made to work. 

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Field Object Attribute In Xref?

Oct 19, 2011

Is there way get field object att in xref ?

View 3 Replies View Related

AutoCad :: Sheet Set Publish Alters Attribute That Is NOT A Field (makes SSM Useless)

Aug 11, 2013

I am using the Sheet Set manager to just publish my drawings to the named plotter (Adobe PDF). I an NOT using any fields. I do not have any sheet numbers assigned in the sheet set. Each drawing is a separate file with only one layout tab in each file. On each drawing, the sheet title and drawing number are within an attributed block, with the drawing number in an attribute with a tag of SHEETNO. Everything is in RomanS. Single sheets plot fine. This is the only sheet set.

The problem is that the sheet number are altered when I use Sheet Set Publish to make a multi-sheet PDF. The manually inserted plain-text sheet numbers are all in the format X#.# (A1.1, A2.3, etc.). Two things happen:

1. The number after the period is printed in a different font on all sheets (NOT RomanS - the ends of the stroke are square) .

2. Over half the numbers are changed (the first sheet, the cover, is blank and not changed):

T1.1 -> T1.- (the dash character)
A1.1 -> A1.1 (OK number)
A2.1 -> A2.1 (OK number)
A2.2 -> A2. 1 (note the extra space)
A2.3 -> A2.2
A3.1 -> A3.3
A4.1 -> A4.1 (OK number)
A4.3 -> A4. 2 (note the extra space)
A8.1 -> A8.3
A9.1 -> A9.1 (OK number)

AutoCAD 2009 on Window 7. No other similar problems.

As it is, Sheet Set Publish is useless. (I know, get an updated version of AutoCAD - it's in the works).

View 4 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Extract Field Expression of Attribute In Block

Mar 8, 2012

Is that possible to have a lisp to extract the Field Expression of a attribute in a block?Specifically, to extract the property VALUE (TextString) of this attribute.After to extract, I would like to put this text extracted in a different layout tab, in the same drawing. In this way, I will have a text linked to the attribute value between two layout tabs. So, when I have to change the attribute value, the text will be updated automatically.

I know that if I use the FIELD command to manually copy and paste this value it will work, but when I have a lot of attributes it becomes very laborious.

View 9 Replies View Related

Maya Animation :: Expression To Automate Animation Of Wheels

Oct 10, 2012

I am trying to add an expression to the standard Mudbox car to make the wheels turn when the vehicle moves in both the X & Z dimension. I have found many scripts that let me do this in a single dimension. I have found some others that claim to work for both dimensions, but at certain angles the wheels turn in the wrong direction.

My work flow is as follows:
1 - Export car from Mudbox to Maya
2 - Separate the wheels & center pivot all items
3 - Add NurbsCurves to create a rig
4 - Parenting the elements of the car
5 - Add an expression based on this web post [URL].......
6 - Test the animation

It works great when translating the car in the Z axis, but when the car is rotated 95 degrees in the Y axis the wheel will only go backwards no matter which direction the car is moved.

I have attached an MB (Maya 2013) so you can see the

problem.mudboxcar_maya_2plusexpression.mb.zip

View 7 Replies View Related

Maya Animation :: Transfer Attribute Values

Feb 3, 2013

I am having an issue with transferring my attributes from one object to another, the transfer works, but not 100% - the animation is taking place in the wrong translation, but the translation match in the channel box. It didn't take the place of the old object, it went off beside it.

I attached a picture, the purple ball which is on the gray plane is the one I need to replace, the ball out off of the gray plane is the one I need to be in the purple balls place.

View 1 Replies View Related

Maya :: Sliding Stoke Or Brush Parameters In Attribute Editor

Dec 10, 2012

My Stroke Refresh is set to off.

The panit effects viewport flickers several times per second while sliding the stoke or brush parameters in the attribute editor. It blink once when holding down the Alt button or press the "redraw panit effects view" button in the view port. It seems like it's keeping redrawing for every change related to the parameters, and this problem is just in the panit effects mode.

I'm a newbie to panit effects,

Following is the flickering screen shot.

View 3 Replies View Related

Lightroom :: Copy Title And Caption Field Into Keyword Field?

May 9, 2013

How to copy the "Title"-field and the "Caption"-field into the "Keyword"-field?

View 3 Replies View Related

Maya Animation :: Unlock The Scaling Attribute In Walk Cycle Animation File?

Feb 17, 2011

I have rigged a character and made it into a character set in which i have locked the scaling attribute , I have then saved this file. I have then referenced this file and and have done a walk cycle animation and saved this file. I have then realised that I needed the scaling attribute when I have added other parts of my scene. Is there a way to unlock the scaling attribute in my walk cycle animation file or will i have to go back and change it in the rigged file, create a new character set and do the walk cycle animation again?

View 2 Replies View Related







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