AutoCAD Architecture :: Create Property Definition That Will Display The Elevation Of Space Object
Dec 18, 2012
I am trying to create a property definition that will display the elevation of a space object. I looked through the automatic properties and did not find anything that looked like the elevation.
I have tried the following but was unable to achieve any success.
RESULT="--"
On Error Resume Next
Set AcadApp = GetObject(, "AutoCAD.Application")
Set Obj = AcadApp.Activedocument.Objectidtoobject("[ObjectID]")
RESULT = Obj.elevation
That formula does work if i swap elevation with say height, width,length or any of the properties found in the automatic property list that are a single word. I know the elevation is there I just don't know how to access it.
View 2 Replies
ADVERTISEMENT
Nov 13, 2013
I am programmatically creating several property defintions inside of a property set definition. I would like to be able to set the display order of the property definitions but the property is read only. How to be able to accomplish this using the API?
View 1 Replies
View Related
Aug 22, 2012
I am trying to reference my room number to another table in my project. This is to satisfy a project requirements and output to a GIS attribute table.
Originally my room number is "001" and when I reference this field to another table I get "1" and drops the first two digits.
View 2 Replies
View Related
Aug 18, 2011
I am working on extracting information from DWG with extended Property Set Definitions. I have added Location Property on my Door objects, and would like to retrieve it in my application.
Definition as shown in AutoCAD > Manage > Style Manager > Property Set Definitions
DoorObjects Property Set
Name: AtSpaceID
Description: Space - SpaceObjects - SpaceID
Type: Location (becomes Automatic inside .NET API code)
Source: Space - SpaceObjects - SpaceID
Space Objects Property Set
Name: SpaceID
Description: SpaceID
Type: Integer
I have tried the .NET API. see Code below. I am stuck at Property Definition Location. Not too sure where I can retrieve the value for my At Space ID at my Door Objects.
I tried the following code below and it throws error such as eInvalid Input or eNot Applicable.
Part of my code
Door doorEntity = trans.GetObject(doorObjID, OpenMode.ForRead) as Door;ObjectIdCollection idsPropSet = PropertyDataServices.GetPropertySets(doorEntity);foreach (ObjectId idPropSet in idsPropSet){ PropertySet propSet = trans.GetObject(idPropSet, OpenMode.ForRead) as PropertySet; PropertySetDefinition propSetDef =
[Code]........
View 1 Replies
View Related
Apr 18, 2012
A way to update a property set definition programmatically?
Or via a tool palette tool.... I see there is with schedules for instance a right-click option to import a schedule style to update it... but I can't find a way to do this with property set definitions.
This would be in AutoCAD Arch (or MEP) 2012 or 2013.
View 6 Replies
View Related
Aug 8, 2012
I having problems trying to resolve a formula in the property definitions. I have a field that has USAGENO 060, 050 that the user inputs. But I would like to auto populate another field ROOMNAME with its corresponding text, to reduce input and avoid user error. The number always equals a room name as shown below.
060=Office
050=Lobby
I tried on the ROOMNAME field this but its not working. My field is set to formula.
=IF[USAGENO]=060,"Office",IF[USAGENO]=050,"Lobby"))
View 3 Replies
View Related
Aug 11, 2011
I am developing an simulation application, leveraging on using Space objects and applied additional Property Set Definitions for Space objects where I introduced a new Property "Value".
I applied a display theme to my DWG, and based on the value of the Property, different colors will be displayed according to the display theme.
For a single DWG file containing the building, I am able to simulate the color changes by updating the “Value” Property in the Spaces using .NET APIs functions such as PropertySet.SetAt, and committing the transaction.
However, one building can consist of many different levels, and I have split up the modeling of the building into its separate levels. For example, a 3 storey building, I will have 3 DWG files for each individual levels.
A main empty DWG was then used to XREF the 3 levels, to combine the different levels into a whole building. I would like to simulate such colour change through the main DWG which references my individual level DWGs.
what .NET API I can use to access the XREF DWGs in my main DWG, so that I can update the "Value" property in all my Space objects?
View 1 Replies
View Related
Oct 8, 2012
I would like to add a automatic property set definition for door "swingdirection" in my door schedule and replace the “left” with LH, “right” with RH and if neither (N/A) with DBL (for double leaf doors).
I thought I remembered being able to view source code in 2004 ADA for how to change and replace but I’m lost in 2013.
View 8 Replies
View Related
Feb 1, 2012
after discovering zones and the space evaluation tool I wonder whether it is possible to customise the XLS output further by also reading out information from a property set attached to the space?
The office standard is to have a property set attached to each space that defines a room number (which is the level ID plus a number, say G-01), the area and the space name.
We used to simply schedule the areas with a schedule table. That only gives us net rooms, no subtotals per department (or say per flat) and no grandtotal.So we got as far as using zones grouping the spaces in each flat.
Now I need an area schedule XLT template that also displays the room number from the space's property set and the schedule grouped in a fashion that I get subtotals per flat (=my zones) in another column and a grandtotal.Playing with the Space evaluation tool I seem to only ever get Room/ zone names and their areas.
View 2 Replies
View Related
Feb 8, 2008
what the roof elevation property relates to and why? Actually, I know that it is the initial insertion point of the roof baseline, but why doesn't it update with grip edited changes in the elevation of the baseline? See the attached file. The three x-lines converge on 0,0,0. The roof elevation is stated as 0. Obviously that property is meaningless. Considering the importance of roof elevations and making them meaningful, you'd think there would be some rhyme or reason to that property.
View 4 Replies
View Related
Feb 25, 2013
I want to change the color of a material definition in 2d wireframe (plan view). For example, for walls, when the mat. def. is checked in the wall display props, the hatching shows orange->color 30.
When I look at one of the materials listed for said wall, in style manager, for that display component, there are diplay components similar to an object format, but in the mat. def. the components control the color (see attached example).
Now is there a "master setting" to change them - I want to change say the plan linework or section hatch to a different color to match our layer color standards or do I have to go into every since display rep. for every single mat. definition and change them or is there a way I can do it once & all will change?
The out of the box objects are great but what I am worried about is that those colors that are given don't work well with our office standard, esp. if we go back to old projects.
View 2 Replies
View Related
Apr 13, 2012
I've created a Live Section Cut. I want to change the hatching in the wall sections. I looked at the Display Property of the Wall Style, but the Model Display is bold, not the Section Display. The Section display has options for Hatching, etc., but the Model Display does not...Do I need to edit the Material assigned to that wall?
View 1 Replies
View Related
Oct 8, 2012
I am trying to find a way to programmatically move our AutoCAD room tag attribute data to new AEC space property sets. I work in a hospital that has approx. 1 million s.f. and over 3000 rooms. Obviously a daunting task to do room by room.
View 4 Replies
View Related
May 12, 2012
I tried to use the command "Remove Material" from the rippon, and I get no rsponse, and deleted the material from the palette and yet the material there, How can I get rid of the materials I attached to the walls?
View 1 Replies
View Related
May 10, 2012
In generating 2D elevations from ADT objects I noticed the muntins didn't match. See attached image for example.
Running AutoCAD Architecture 2012.
View 3 Replies
View Related
Apr 2, 2012
I have created a space with space generater, added a room tag. When I click on the room tag and click properties I do not have Property Sets from Referenced Objects under extended data. How do I add this? I drawing I did about a year ago has this, but the curent project does not and I do not remember how I managed to get this info to appear.
View 4 Replies
View Related
Nov 26, 2012
I'm running Architecture 2013. When creating an elevation object from a 3D model, the hidden lines are not being removed. I've never seen this before, though I have been using Architecture and ADT for years. I've recently upgreaded from 2009 to 2013, and VOILA!
Hidden lines not removed from elevation and section objects. I've tried various tests, to no avail.....
View 5 Replies
View Related
Feb 12, 2013
Is there a way to control which of two 'Graphic Property definitions' are used via a formula property with a IF, Then, condition statement?
View 3 Replies
View Related
Mar 14, 2012
I have created a display theme style and legend with custom theme names (i.e. SECURITY, etc.). I have changed the themes display properties to what I want (i.e. ANSI31, blue, etc.).
I have also created space styles with the same custom names (i.e. SECURITY, etc.).
When I create a space with a custom space style the display properties do not match the theme. I am hoping to find a way to have the space style display properties change when I change theme display properties. How do I get these items associated? Is it possible?
View 1 Replies
View Related
Aug 25, 2011
I have two related properties... One is a formula property, the other is a manual property.
In the formular property I'd like to set the value of the manual property.
View 1 Replies
View Related
May 13, 2013
I don't know if I am doing something wrong but I made exterior elevations in views for a building and the interior partitions are also displayed. An exterior elevation should only display exterior walls.
View 8 Replies
View Related
Sep 29, 2011
How would i insert the "variable name" of a custom iProp to a sketched symbol definition (in an idw)?
I can plonk the value of the iProp in no worries, but to make it "live" is a bit beyond me...
Sub WeldNote()On Error Resume NextDim oDoc As DrawingDocumentDim SketchedSym As SketchedSymbolDefinitionDim oNoteDef As SketchedSymbolDefinitionDim oDefSketch As SketchDim oTextbox As TextBoxDim SNewText As StringDim sNoteText As StringDim oReffedDoc As DocumentDim lReffedWeldType As Long'Err.ClearIf
[Code].....
View 9 Replies
View Related
Dec 5, 2013
I have recently started using FIELDS in our drawings. I must say, they are very powerful.
This is what I would like to accomplish but have not been able to do it on my own.
I want to be able to add text/description to a block, then invoke that text/description with a leader. For instance, if I have a block of a 6x6 post w/ a square, I want to be able to insert the block, do a leader and invoke the custom description "P.T. 6x6 POST W/ CONC. FOOTING"
View 1 Replies
View Related
Jan 11, 2013
When using the 'space generate' option when inserting a space, the tool automatically turns off 'object snap' and then of course it doesn't turn it back on at the end of the operation. I tend to need to switch back and forth from auto generate to polygonal insertion and having to reset object snap every time.
View 3 Replies
View Related
Oct 9, 2013
Is there a command to split a space object?... if so, what is it?
View 2 Replies
View Related
May 2, 2012
We've been working with adding schedule tags in paper space for objects nested within an xref. The first time you do this however, the manual properties (it seems) do not update if the value of the manual property is changed back in the xref dwg. However, the Automatic properties do seem to update.
When we initially found this we past it off as a limitation. However, one of our users was experimenting and found that the first time you tag the xref resident object... the schedule tag reads the correct manual properties value. However, If you remove the property set from the schedule tag... then the manual property will update correctly showing the current value as it is back in the xref dwg even if it is changed.
This makes complete sense as the manual property set data can be edited from either the tag or the object or from the schedule... IF THE TAG and the object are resident in the same drawing file - in this case you DO NOT want to delete the property set from the tag... if you do this the property set is also removed from the object. However, when tagging objects nested within an xref, then you need to remove the property set from the tag... THEN the manual property will update correctly.
View 2 Replies
View Related
Jul 25, 2012
Is it possible within the drawing to have model space and paper space displayed side-by-side like two vertical split screen viewports?
View 3 Replies
View Related
Aug 8, 2012
In Autocad Arch 2013, is there some parameter or option that will turn off the default behavior of dropping out part of the hatch or color, around a peice of text? In other words I don't what the white space that forms around a text object when I apply a hatch or color region.
View 1 Replies
View Related
Dec 19, 2012
When I snap a point to an object, the point takes on the elevation of the object. I would rather the point's elevation stay as is.
-changing osnapz variable
-latest civil 3d service pack
A few weeks ago I did not have this problem but once my computer was switched to the company's global server and c3d was reinstalled the problem appeared. Furthermore (post switchover), when a colleage of mine prepared a simple test drawing with just a line and a point, he was able to snap to that line without the point changing elevation. When he sent that drawing to me and I tried snapping the point to the object, the same problem occured with the point taking the elevation of the line object. I suspect it is a system variable issue
View 7 Replies
View Related
Jan 27, 2011
I want to create a space style similar to BOMA with editable boundaries to use for LEED Daylighting calculations. I figured out how to make a new property set definitions, new space style, etc., but I can't get the boundaries to read as the LEED boundaries. I want the Base area to remain as is, but I want NET to be Daylit, Useable to be Sidelit, and Gross to be Toplit.
I could do the workaround and just use the OOTB BOMA style, but then others editing will have to constantly translate which means what as we edit the drawings. When you look at the display display Properties for the space style, the boundaries and hatches read as net, useable, etc. I can't figure out where to redefine those and when you right click the space and Edit Boundary, I need to be able to display the correct properties, not the BOMA properties.
View 1 Replies
View Related
May 10, 2012
Basically I have drawn some lines, arcs and splines in the 3D space, then I created surfaces between these lines, arcs and splines, thus I created an 'object' which is defined by all these surfaces.
And what I want to do now is to fill up the empty space and basically convert it into a 3D solid object.
Another example would be a loft 'object', and it creates only a surface, so may I somehow fill up the empty space and turn it into an object?
Drawing2.dwg
View 9 Replies
View Related