autocad

ThreeJS: is it possible to simplify an object / reduce the number of vertexes?

蹲街弑〆低调 提交于 2020-01-13 11:23:10
问题 I'm starting to learn ThreeJS. I have some very complex models to display. These models come from Autocad files that my customer provides. But sometimes the amount of details in the model is just way too much for the purpose of the website. I would like to reduce the amount of vertexes in the model to simplify the display and enhance performance. Is this possible from within ThreeJS? Or is there maybe an other solution for this? 回答1: There's a modifier called SimplifyModifier that works very

ArchiCAD与Revit深度对比

谁说胖子不能爱 提交于 2020-01-13 04:56:32
这个论题本是老生常谈了,谈到BIM绕不过的就是Revit与ArchiCAD。两者的对比许多帖子都讨论过,但往往大而化之,原则性的东西多,细节的东西少,因此我想再作一次比较,希望能深入一点,具体一点,力争较为全面地反映两者的真实面貌。 先介绍一下本人对这两个软件的熟悉程度。我用ArchiCAD快4年了,出过几套施工图,编过若干gdl,对ArchiCAD的认识偏重于施工图;用Revit不到一年,出过三个工程的土建及MEP模型,也用其API编了若干插件,对Revit的认识偏重于结构及MEP建模。应该说对ArchiCAD与Revit的认识都算深入了。 当然两者的深度比较是一个庞大的工程,我也是边用边写,没有什么条理,而且个人看法难免有偏见,技术上也多有不了解的地方,因此希望各位能指正与补充。 本贴会持续更新,我先在前面几个楼里搭个框架,再慢慢完善。因为许多问题都在使用中才会想到、体会到,平时都是一边画图、一边不断在骂软件,真要一下子回忆起来又有点难~ 一、软件的思想、架构对比 从软件的历史来说,无疑是ArchiCAD悠久的多,Revit是Autodesk在2002年才收购回来的,可说是“半路出家”,但Revit有一个强有力的东家,马上推出“BIM”这个很潮很炫的口号,一下把ArchiCAD沿用多年的“虚拟建筑”这个老老实实的口号给打败了,于是ArchiCAD也只好宣称自己是个BIM软件

Autodesk 2016 下载地址

﹥>﹥吖頭↗ 提交于 2020-01-11 07:21:20
AutoCAD http://trial2.autodesk.com/NET16SWDLD/2016/ACD/DLM/AutoCAD_2016_English_Win_32bit_dlm.sfx.exe http://trial2.autodesk.com/NET16SWDLD/2016/ACD/DLM/AutoCAD_2016_English_Win_64bit_dlm.sfx.exe AutoCAD LT http://trial2.autodesk.com/NET16SWDLD/2016/ACDLT/DLM/AutoCAD_LT_2016_SWL_English_Win_32bit_dlm.sfx.exe http://trial2.autodesk.com/NET16SWDLD/2016/ACDLT/DLM/AutoCAD_LT_2016_SWL_English_Win_64bit_dlm.sfx.exe ARCHITECTURE http://trial2.autodesk.com/NET16SWDLD/2016/ARCHDESK/DLM/AutoCAD_Architecture_2016_English_Win_32bit_dlm.sfx.exe http://trial2.autodesk.com/NET16SWDLD/2016/ARCHDESK/DLM

Why am I getting the “LoaderLock was detected” warning when debugging?

此生再无相见时 提交于 2020-01-10 02:32:14
问题 I'm developing an add-on for AutoCAD 2009. The project output is a class library. When I attempt to debug and load the class library, I get this "LoaderLock was detected message." I've been writing these add-ons for awhile and this is the first message of this type I've seen. Where do I start trying to figure this out? What is LoaderLock and why is it bothering me now? LoaderLock was detected Message: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code

Get handle of Object in AutoCAD 2015 from vb.net

℡╲_俬逩灬. 提交于 2020-01-04 02:59:10
问题 I have managed to link my Visual Studio to my AutoCAD 2015, but I am struggling to get a handle on a text object within my AutoCAD project from vb. I was wondering if anyone had any suggestions or tips as to how I could get a handle on an AutoCAD object from my vb code. Ultimately I want to be able to change the text of this object from my vb code. Any help or suggestions are appreciated.. Thank You in adavance 回答1: I would suggest you start with My First Plugin tutorial then this AutoCAD

Add attribute to block: Autocad API VB.net

坚强是说给别人听的谎言 提交于 2020-01-03 04:32:11
问题 I am using below code to add attribute to certain block, But it does not work, I am not getting what exactly going wrong and there is no error. Public Class addattribute Public Function addnewattribute() Dim attdef As New AttributeReference Dim templatepath As String = "C:\Users\sesa388372\Documents\Visual Studio 2015\Projects\SchneiderMacros\Wtemplate.DWG" Dim db As Database = New Database db.ReadDwgFile(templatepath, System.IO.FileShare.ReadWrite, False, "") Using tr As Transaction = db

How to export DWG files to images using AutoCad API with C#?

半腔热情 提交于 2020-01-02 23:14:51
问题 I have AutoDesk 2014 and VS2012 installed. I already have the dlls mentioned here and also tried this but not worked. I really need to know how to export those files to images, jpg, png,.. using C# code. Thanks! 回答1: The DLLs and code you mentioned are used to create plugins for AutoCAD. You can create images (PNG or other) using a code like this: http://through-the-interface.typepad.com/through_the_interface/2007/04/taking_a_snapsh.html But you may need to get started with the API, see a

How to close a file in Autocad using C# keeping acad.exe running?

回眸只為那壹抹淺笑 提交于 2019-12-29 08:03:22
问题 I am using visual studio 2010 and I am having a .DWG file which I want to open in autocad. Till now I have used this. Process p = new Process(); ProcessStartInfo s = new ProcessStartInfo("D:/Test File/" + fileName); p.StartInfo = s; p.Start(); But what I want is to close the file inside the Autocad but not the autocad itself. (Means atocad.exe should be kept running). Till now I hve used this but its closing the acad.exe not the file. foreach (Process Proc in Process.GetProcesses()) { if

Reading .DXF files [closed]

妖精的绣舞 提交于 2019-12-28 04:01:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Does anyone know of source code, ideally in C# or similar, for reading .DXF files (as used by AutoCAD etc)? If not code, then tables showing the various codes (elements / blocks / etc) and their meanings? I am writing a reader myself, and have dead tree documentation detailing the format, but am trying to avoid

Convert dwg to pdf on AutoCAD

旧巷老猫 提交于 2019-12-25 02:46:40
问题 Hi how can I Plot to Pdf my AutoCAD drawing using VBA? I Tried Sub PlotToPdf() ThisDrawing.ActiveLayout.ConfigName = "DWF6 ePlot.pc3" Dim plotFileName As String plotFileName = "Z:\USERS\KweziM\PROJECT S\MyPlot.pdf" Dim result As Boolean result = ThisDrawing.Plot.PlotToFile(plotFileName) End Sub But this does not work. 回答1: That last line should be a subroutine call, not a function call... it should look like this ThisDrawing.Plot.PlotToFile plotFileName You do not need the result variable.