AutoCAD .NET :: Overrule Attributes (properties) For Complex Objects
Jan 6, 2013
I am about to write the function using Overrule API to temporary override object’s colour to ByLayer for all entities in the drawing.
At this moment I just have simple class for testing (just to check if it is possible) and so far I can see problem with complex entities.
Entities such as Line, Polyline even BlockReferences work fine but complex objects like HATCH, MTEXT and LEADER do not change colour as set in SetAttribute method.
Below is simple class I was testing.
public class ByLayerColorOverrule : DrawableOverrule
{
public override bool WorldDraw(Autodesk.AutoCAD.GraphicsInterface.Drawable drawable, Autodesk.AutoCAD.GraphicsInterface.WorldDraw wd)
{
base.WorldDraw(drawable, wd);
return true;
}
[code]....
View 8 Replies
ADVERTISEMENT
Jun 11, 2013
I finally got some Lisp scripts working. They generate a block library from a CSV file. The script reads the file, and generates a simple rectangular block based on dimensions on the line. I have another script that can read a csv of block names and values, and add these as attributes to the block.
The attributes added are simple, like "weight" and "max stack qty". I would like to be able to see these values in the properties tab or in quick properties. In my CUI I have "Display Custom Attributes" checked under "block reference".
However, when I select a block, no attributes show up. I can get it to show me things like "name" and all of the scaling values, just no attributes.
View 0 Replies
View Related
Feb 21, 2013
With Eyedropper Tool click unselected Source Object, (which has 1 fill and 2 stroke attributes) the Eyedropper Tool stem detects Source Object's attributes...then, pressing Option key, click on Destination Object (which contains a default fill and stroke).The Destination Object only receives the base fill and stroke of the Source Object... it should receive all the attributes of the Source Object.
NOTE: 'New Art has Basic Appearance' is unchecked in the Appearance Panel.
Illustrator CS6, 16.04
OSX 10.8.2
iMac 3.4Ghz
32 GB Ram
View 3 Replies
View Related
Jul 10, 2012
When I select any object, my quick properties tab is blank and my properties tab doesn't register anything. Also, I get an error message when I go into my CUI to try to modify the quick properties tab. Pretty frustrating. I've attached a couple of images for reference. I've repaired, re-installed and unistalled and re-installed and still have the same probelm.
Dell Precision T3500
Intel(R) Xeon(R) CPU W3530 @2.8GHz
ATI FIrePRo V5800 (FireGL V)
12 GB Ram
64 BIt OS
View 3 Replies
View Related
Jan 16, 2012
A user showed me today that she cannot see any properties for a wall, door, or other AEC object in the Properties palette.
Some options like height, width, etc. are shown, but not layer, style, etc. from the General portion of the Basic tab.
Is this going to be a reinstall scenario or is there a fix for this?
View 9 Replies
View Related
Oct 14, 2012
I want to convert a complex object into solid, so that I can measure its volume.
View 9 Replies
View Related
Mar 4, 2012
how can some of the attributes in the properties invisible
View 6 Replies
View Related
Mar 2, 2011
I recently upgraded to a new computer and CAD Civil 3D 2011. I have always had it set up to when I selected a node the attributes (description, point number, etc..) for it would show up in the properties. Now I can only view them by double clicking the node. Is there a way to get them to display in the properties again?
View 9 Replies
View Related
Jul 5, 2013
I'm not able to see the values of attributes in my Properties Palette. When I select the block, I would like to see the associated attributes show up in the "Properties" window; however for some reason they do not.
This happens with all blocks and I checked the constant. I'm thinking it's a Variable but don't know which one.
View 9 Replies
View Related
Mar 21, 2013
My company is building a template library, and I want to fill in the .DWG document properties by extracting the information from a the block attributes
For example we need the following document properties (TITLE, SUBJECT, and KEYWORD) to be filled in from the same block attributes (TITLE, SUBJECT, and KEYWORD). The template we have now has this information manually input, but we would like to "automate" it on the .DWG document properties.
How do we do this, use a macro or is there some other way to do this automatically?
View 2 Replies
View Related
Apr 20, 2011
Is there any way to edit multiple attribute properties, NOT using battman? While battman will chnage every att-block within the drawing, I'm looking for a way to change the text size of one specific line of text within an attribute, and ONLY change it in a certain few within the drawing. It'd be nice if I can select those specific blocks and change the properties in the properties manager, but it's not an option.
View 7 Replies
View Related
Aug 2, 2013
My Quick Properties does not show my block attributes but they shows in Properties Palette. I have edit Quick Properties in my Custom.CUI that overrides ACAD.CUI settings. I'm using AutoCAD 2012.
View 9 Replies
View Related
Mar 4, 2012
how can some of the attributes in the properties invisible
View 3 Replies
View Related
May 16, 2012
I don't mean "Hide" as in right clicking and hiding selected objects, because that doesn't seem to work.
I'm working with Rayfire and need a way to remove the fragment objects from my view so the program will run faster.
Alternatively is there any way to combine multiple scene's objects instead? (so I could work on the fragments and then the rest of the scene and then combine them.)
View 1 Replies
View Related
Aug 6, 2013
My Quick Properties does not show my block attributes but they shows in Properties Palette. I have edit Quick Properties in my Custom.CUI that overrides ACAD.CUI settings. I'm using AutoCAD Civil 3D as AutoCAD 2012.
Below you can see that Attributes are not any option.
I'm trying to make my changes in the local CUI file.
View 2 Replies
View Related
Mar 15, 2011
I used the Block Properties table in dynamic block editor. I picked 3 out of 6 atributes to include in the Block properties table and I inserted the predefined values. When I view the block in testblock edditor everything works. Everything works also in the same drawing were the block was created. I can choose the predefined block vallues from the dropdown list.
The problem is that when I save the block in the block edditor as new drawing, for the purpose to use this and include this block in another drawing, then the attributes witch were associated with the Block Properties table are missing. They are also missing when I open the block editor in the new drawing. The attributes that were not associated with the table exist.
I have added 2 files. 1 with the block created in the same drawing and another where the block was saved an inserted to a new drawing.
View 8 Replies
View Related
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
Aug 12, 2013
My Quick Properties does not show my block attributes but they shows in Properties Palette. I have edit Quick Properties in my Custom.CUI that overrides ACAD.CUI settings. I'm using AutoCAD Civil 3D as AutoCAD 2012.
Below you can see that Attributes are not any option.
I'm trying to make my changes in the local CUI file.
View 1 Replies
View Related
Jul 21, 2013
cropping/cutting complex meshed 2d objects.I create a 2d plane and divide it to 100x100 sections. How can I extract a star from it preserving the meshed squares of the plane?
In Illustrator I'd create a compound path from the 100x100 (10.000 squares) and extract it. Then I'd create a star position it in front of the plane, select both and hit "crop" in the pathfinder.
What I actually need is to "subdivide" 2d shapes but if I apply the subdivide modifier It applies a triangle mesh and what i need is squares manually delete the outside segment by segment but I'm talking real complex shapes..
View 2 Replies
View Related
Apr 9, 2013
Is there a way to change attribute properties (ex. text width factor) when the block is inside a multi leader? Double click on it only show the attribute value, not the enhanced attribute editor.
View 2 Replies
View Related
Dec 8, 2009
I have created fields in the drawing properties custom fields dialogue box, then inserted those fields into my title block attributes.
Two things I hope to get out of this:
1. link these fields into the drawing property summary, so that I can display the drawing title and other pieces of info in the help strings that appear in windows explorer by simply hovering the cursor over the file.
2. I wish to be able to fill out the information in the title block by data linking it to our drawing lists in access.
View 3 Replies
View Related
Jun 19, 2006
how do i select akward complex objects like trees or bushes or hair without spending hours with the magic wand tool?
View 2 Replies
View Related
Aug 9, 2012
I have very complex file, with hundreds of paths, shapes, text, outlined text, etc... It's a brochure with graphs, scematich drawings and text.
Last moment, the client like the reverse the colors from (current) Black on white, to all White on dark gray background.
Problem is, I can't seem to find easy way to just change the colors, without selecting one by one, every single object. When I selest all and choose white, it start filling paths with solid fill... Editing it wastes allot of my time and I have many pages to do.
Is there any way to simple change color of everything at once, just from black to white ? Or do I have to go object by object manually ?
View 6 Replies
View Related
Nov 18, 2013
I have a 9 layer Illustrator file that uses multiple transparency effects. I need to combine all the elements so that I can use the pieces with a transparent background, but no matter what I do, it requires a white background to look right. File is here:
[URL]
View 2 Replies
View Related
Mar 27, 2013
I have some blocks that are associated with regions in my drawings. I want to select regions based on attributes in the associated blocks. Is that possible?
Is it possible to link my blocks to an external database and select the regions based on a field in the linked database?
View 1 Replies
View Related
Nov 16, 2012
I have a drawing template (block) where the drawing number is displayed in two locations (attributes). The same value has to be entered in both attributes.
Is there any way of "echoing" the data from one attribute to other attributes (or text objects)?
View 2 Replies
View Related
Aug 13, 2013
Is there any (non programming) solution where I can add custom data/properties to objects in plain AutoCAD?
(I know I can in Civil 3D though, using Notes/Extended Properties etc etc)
We want to allow users to add their own unique ID to all their drawn objects, and we don't want to use Entity Handle as that is not anything we can choose ;-)
We're using that ID to connect other datasources (ODBC) to Navisworks and we would like it to work even from AutoCAD, even though we have Civil 3D inhouse.
using plain AutoCAD straight out of the box?
View 9 Replies
View Related
Apr 26, 2013
I used architecture on my pc. I installed Autocad on another pc with the same Serial code. I can see on the top that my version suddenly is a Educational version. I'm telling you this because i don't know if this is the reason of my problem.
The problem: i can't see the properties of an object when i use autocad architecture in the educational version.
For example: I make a wall and i place a window in the wall. Now i want to change the width of my window, using the properties bar. SO i click on my window (right mouse button) and click on PROPERTIES. It opens the properties bar BUT i can't see the window and his properties. At the top of the properties bar it says "No selection".. How can this be when i begin with the right mouse click on my window?
When i do it in the other direction: Open properties (ctrl+1) first and then select for example my wall, still nothing changes in the properties bar!
View 4 Replies
View Related
Jul 23, 2012
I have a question regarding object overrule.
Simple example, when overrule Line entity to draw three entities Line, Text, Circle when selecting overruled Line is it possible to identify what object have been selected (in this example it could be Line, Text, Circle).
View 3 Replies
View Related
Aug 9, 2012
I want to change display of custom object using overrule.
First I made a class implements from polyline.
class BoundaryPolyline : Autodesk.AutoCAD.DatabaseServices.Polyline { }
Second I made a polylineJig to draw my custom polyline(BoundaryPolyline).
public class PolylineJig : EntityJig { public PolylineJig(Point3dCollection p3ds) : base(new BoundaryPolyline()) { ... } ... }
And then add overrule on BoundaryPolyline to change display of it.
Overrule.AddOverrule(RXObject.GetClass(typeof(BoundaryPolyline)), mydrawOverrule, false);
But when I loaded dll, fired overrule and redraw. All polyline display were changed.
Then I found that 'RXObject.GetClass(typeof(BoundaryPolyline)' was return 'Polyline' but not 'BoundaryPolyline'.
How to overrule on custom object.
View 5 Replies
View Related
Jun 26, 2012
I am working on simple WorldDraw overrule where lines and polylines are displayed with little cross. Size of cross is related to view size.
Everything works fine except blocks and Xrefs. If they are scaled then crosses are scaled as well.
I know how to get entity owner ID but it refers to BlockTableRecord only not to BlockReference.
View 3 Replies
View Related