autodesk

Printing a dwf/dwfx file from WPF

I'm currently attempting to print a document from WPF. I'm using the web browser because it contains an active x control which has the autodesk plugin which I need to view the document. I'm aware that WPF doesn't directly support web browser but I've just integrated the Windows Forms library for this. I've managed to get the code runnin...

How can I access the overridden properties of a .NET API object in IronPython?

I am using IronPython to create a shell for a plugin API to Autodesk Revit Architecture 2010 to speed up learning their API. One of the classes the API provides is Autodesk.Revit.Elements.Room, derived from Autodesk.Revit.Element. I would really love to read Room.Name, but this goes Boom! on me as Room has overridden Elements Name prop...

How to set the value of a shared parameter with type binding in Autodesk Revit Architecture 2010?

I have a shared parameter UValue bound to the Wall type with TypeBinding in Autodesk Revit Architecture 2010. I can easily access the parameter with: Definition d = DefinitionFile.Groups.get_Item("groupname").Definitions.get_Item("UValue"); Parameter parameter = self.get_Parameter("UValue"); The value of this parameter can be looked ...

[Solved] Autodesk Revit MEP 2010 .NET API C# room to door relation

Hello everyone, working with VS 2008 and Autodesk Revit MEP 2010 in C# i am trying to find out if a door is connecting to rooms: ElementSetIterator elementsetiteratorBIMDoors = bimdoors.getBIMDoors().ForwardIterator(); while (elementsetiteratorBIMDoors.MoveNext()) { Autodesk.Revit.Element elementDoor = elementsetiteratorBIMDoors.C...

how (in maya) can i get the 3D position of the mouse?

hello... i have created a dragger context in maya using the following code, pos holds my 2D coordinates of mouse cursor, i want to convert it into 3D coordinate to be the source of the ray i want to launch,, i want it either through python scripting or through the python api,, import maya.cmds as mc mc.draggerContext( 'testContext', ...

Does Maya Mel have a good API to a IDE ?

Hi, I'm developing in MAYA and looking for a good API to connect my models and to be able to control them programatically. thanks. ...

Creating a simple hierarchy structure in Maya using mel/python

So I want to create a very simple structure out of group and locator nodes in Maya which will then be exported for use in my game level. e.g. Group_Root group_parent - group1 - locator1 - group2 - locator2 - group3 There is only one Group_Root in the file, there are many group_parents ( each uniquely named ...

Converting a CAD file to a shape file

Hey folks: Thanks for the assist on my previous question.... I was able to complete my project This time I have a CAD file created with Autodesk that I need to convert to a shape file. Couple of questons: An open source application (can't afford ESRI) that can convert the CAD file to a shape file? Is that a better file format I can u...

Autodesk Design Review API and Visual Basic

I am trying to embed an ActicveX control into a Windows form. The control is an Autodesk DWF viewer. I have it in the form and added references, but when I run I get these errors in the Immedite window. Everything seems to work like it should but I want to what these errors mean and how to fix them. System.Windows.Data Error: 39 : Bi...

How to harness HTML 5 Canvas with editing tool on iPad

Hey guys, So my company is trying to experiment with enabling an "Autodesk WS-like" (http://www.autocadws.com/mobile) interface though our tool. Our tool has a lot of the same ideas, lay something out, change properties, etc. So the basics of the application seem like they would be very similar. We think it was done with a healthy am...