Friday, November 20, 2009
Home   |   Search   |   About AUGI   |   My AUGI   |   Join Now

Go Back   AUGI Forums > AUGI Technical (English) > AEC > Revit > Revit in General > Revit - API
 Welcome, Guest. 

Login

Join Now FAQ Members List Calendar Search Today's Posts Mark Forums Read

Revit - API The place where programming minded members can get together and brainstorm

Reply
 
Thread Tools Display Modes
Old 2008-10-13, 04:21 AM   #1
r.howarth
100 Club
 
Join Date: 2007-10
Location: Brisbane
Posts: 113
r.howarth appears to be going the right way
Default Revit 64bit API discussions

I've loadd this in our office and have ran into a couple of issues, see my blog post about it here:
http://roddotnet.blogspot.com/2008/1...revit-api.html

I thought I'd start up a thread for others to share their problems and resolutions as well. Have many others played with this yet?
__________________
My site -> http://rodhowarth.com
My blog -> http://roddotnet.blogspot.com/
Revit API Search Engine -> http://revitapisearch.rodh.org
(Searches various online revit API information sources)
r.howarth is offline   Reply With Quote
Old 2008-10-14, 03:26 PM   #2
mmason.65315
100 Club
 
Join Date: 2004-02
Location: Brookline, MA
Posts: 141
mmason.65315 is going the right waymmason.65315 is going the right waymmason.65315 is going the right way
Default Re: Revit 64bit API discussions

Rod,

I was planning a post on this as well, as soon as I hear back from all of the beta testers of the Revit Utilities (64-bit edition).

So far, if you're using the "Any CPU" platform, and you're using purely .NET (no COM, Win32, or other funky 3rd party libraries) - then I think the code side of things is fine.

The installer, on the other hand, can cause some challenges.

-Matt
mmason.65315 is offline   Reply With Quote
Old 2008-10-15, 09:37 AM   #3
Danny Polkinhorn
I could stop if I wanted to
 
Danny Polkinhorn's Avatar
 
Join Date: 2003-12
Location: Honolulu, HI
Posts: 395
Danny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightlyDanny Polkinhorn is glowing brightly
Default Re: Revit 64bit API discussions

I've been lucky so far I guess. I built a project on x64 and have successfully used it on 32-bit machines. The code was compiled for "Any CPU" and contains the Office and Excel COM references. It's the only one I've done this way so far.

By the way, the 3.5 SP1 version of the .NET framework will treat security for assemblies on your LAN the same as Local Computer, so managed DLLs stored on mapped network drives should run fine. I haven't tried it, but that's what I hear.

Hope that helps,
__________________
Danny Polkinhorn
WATG
Danny Polkinhorn is offline   Reply With Quote
Old 2008-10-16, 06:55 AM   #4
r.howarth
100 Club
 
Join Date: 2007-10
Location: Brisbane
Posts: 113
r.howarth appears to be going the right way
Default Re: Revit 64bit API discussions

good information about the security, I might have to install Vis Studio 2008 by the looks of things!

A problem I had was that I was calling 'dsofile' which is a microsoft office com tool for changing custom properties of files, and the dsofile was 32bit, so therefore I couldn't call it in my 64bit app. Lucky the dsofile code is open source therefore someone compiled it into 64bit. problem is i'm going to need 2 versions of this dsofile.dll on a users machine, which is annoying. But that's not really revit related!

I think you're right in that really security in .net 2.0, and the calling of 3rd party libraries are the main problems with any 64bit .net app really, with possibly one exception I've found.

Which begs the question, what advantages can we get out of 64bit in our .net api code? is there anyway we can code to get better performance etc? or is our stuff too high level for that.
__________________
My site -> http://rodhowarth.com
My blog -> http://roddotnet.blogspot.com/
Revit API Search Engine -> http://revitapisearch.rodh.org
(Searches various online revit API information sources)

Last edited by r.howarth : 2008-10-16 at 07:20 AM.
r.howarth is offline   Reply With Quote
Old 2008-12-14, 07:52 AM   #5
krispy5
Member
 
krispy5's Avatar
 
Join Date: 2007-06
Location: Sydney, Australia
Posts: 7
krispy5 appears to be going the right way
Default Re: Revit 64bit API discussions

The only issue i've encountered so far is with a logging add-on i have. but that is because it was saving to an access database (the jet interface doesn't work on 64bit) it was an easy fix to switch the database over to SQL and then a one line change in my code for the connection string.
krispy5 is offline   Reply With Quote
Reply


Go Back   AUGI Forums > AUGI Technical (English) > AEC > Revit > Revit in General > Revit - API

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ACM / RPC error on Revit 64bit Munkholm Revit Architecture - General 7 2009-03-06 08:39 PM
Display issues in Revit 64bit AP23 Revit Architecture - General 10 2008-10-04 06:48 PM
64bit revit mark.98140 Revit - Hardware & Operating Systems 2 2008-09-04 08:57 AM
Revit and 64bit kgrant.115222 Hardware 2 2007-09-18 05:20 PM
REVIT ARCH. 2008 & XP 64bit Reviteer Revit - Hardware & Operating Systems 6 2007-07-14 05:34 PM


All times are GMT +1. The time now is 01:08 AM.