Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
.NET / Re: How to create Link between objects?
« Last post by Augusto on June 02, 2023, 01:37:02 PM »
I'm wondering if you can do this with constraints. I haven't used constraints in AutoCAD much, but in Inventor, you can make it flexible with angular constraints.

Thank you for your reply, 57gmc.

In the future I will try to use constrains to make the connection between the paths that the tubes must follow.
I'll try to solve getting information between objects first. I know that it is also possible to do this using Xdata, but I also have doubts whether this will be good for the future of the project.
22
.NET / Re: How to create Link between objects?
« Last post by Augusto on June 02, 2023, 01:30:02 PM »
Hanauer, Thank you for your reply and valuable information!

As the subject is vast I think it is difficult to get solutions right away. At least in my case, I adjusted it little by little and it took a long time for it to work properly.

I believe I have a long road ahead of me, and maybe I have to walk the same path as yours.

Have a look at Deep Clone, HardPointerId, SoftPointerId, DBDictionary.TreatElementsAsHard, ObjectOverrule.

I will definitely follow your advice and study concepts like Deep Clone, HardPointerId, SoftPointerId and DBDictionary.TreatElementsAsHard. I was initially hesitant to use ObjectOverrule as I had read about it some time ago and had a hard time understanding how it works.

When you copy a "FlexTube" (within the same file or between files) you want it to have the same properties as the original.

It seems to me the most correct. But I still have no idea how to do that. Maybe I have to create my own object cloning method.

If you look closely at Kean's example he uses DxfCode.SoftPointerId. From what I saw you are using DxfCode.Text.
There are differences between the usage of HardPointerId and SoftPointerId.

I guess I didn't pay much attention. Thank you for guiding me around this.

There is a content called AU2010 - CP230-1V - AutoCAD® .NET - Practical Examples of Customizing AutoCAD Entity Behavior from Autodesk University 2010 written in VB .NET by Stephen Preston which I think can help because it has examples that you can practice, of course it involves time.

I'll check out the feature you mentioned, AU2010 - CP230-1V - AutoCAD® .NET - Practical AutoCAD Entity Behavior Customization Examples by Stephen Preston in VB .NET. It looks like a valuable reference that will provide me with practical examples to work with.

Thanks again for your guidance and for pointing me in the right direction. I really appreciate your willingness to share your knowledge. I will actively explore and test the examples you mentioned to further enhance my understanding.

Best regards, Luís Augusto.
23
Land Lubber / Geographically Positioned / Re: Simplify a C3D DEM surface?
« Last post by wizman on June 02, 2023, 12:27:13 PM »

Whey not create a cogo point grid that drapes onto the DEM, then create a surface from that.


I think this will create a better surface.  But I would use ArcGIS to put points in center of each DEM pixel and elevate each point to the correct DEM elevation.  Then have Civil 3D do the triangulation from those points. 
24
.NET / Re: How to create Link between objects?
« Last post by 57gmc on June 02, 2023, 11:04:55 AM »
I'm wondering if you can do this with constraints. I haven't used constraints in AutoCAD much, but in Inventor, you can make it flexible with angular constraints.
25
Land Lubber / Geographically Positioned / Re: Simplify a C3D DEM surface?
« Last post by MSTG007 on June 02, 2023, 08:06:05 AM »
This is a good conversation. Just throwing out another idea.
Since this came from a DEM file, and from a plotting side you want it to be fast loading, etc.
Whey not create a cogo point grid that drapes onto the DEM, then create a surface from that.

Another idea, would be to do the same, then maybe from the DEM (point surface), explode the line work.
Use that as a basic xref. Then data refence the original DEM in with a surface display set to No Display.

Just some thoughts.
26
Land Lubber / Geographically Positioned / Re: Simplify a C3D DEM surface?
« Last post by d2010 on June 02, 2023, 07:33:31 AM »
I have a surface in C3D created from a 1m DEM. It's very dense. I only need it for some visual topo and steep slope analysis (not for a design, just an FYI on the plan) so it doesn't need to be so detailed. The slope visualization is terrible as it is. Anyone have thoughts on a best method to reduce/simplify the surface to get the topo and steep slopes to display more smooth/simply?
Thanks


Exists the solution, but not freeware (no payment!); because both person/s (you and I) need
earning the experience online-collaboration(remote tasks).
That reason/s,  I can try your need/s only;  you hire me / per hour?

https://youtu.be/fb1toX3yupw

Can you hire -me for surveyour tasks?
27
.NET / Re: How to create Link between objects?
« Last post by Hanauer on June 02, 2023, 07:26:53 AM »
Surely there are people with more experience than me to answer. What I am going to expose here may not be completely correct as it is based on my experience and I hope someone corrects what is wrong.
I just have an app that makes use of something similar that you're aiming for and I haven't touched it in a while.
As the subject is vast I think it is difficult to get solutions right away. At least in my case, I adjusted it little by little and it took a long time for it to work properly.
Have a look at Deep Clone, HardPointerId, SoftPointerId, DBDictionary.TreatElementsAsHard, ObjectOverrule.
When you copy a "FlexTube" (within the same file or between files) you want it to have the same properties as the original.
If you look closely at Kean's example he uses DxfCode.SoftPointerId. From what I saw you are using DxfCode.Text.
There are differences between the usage of HardPointerId and SoftPointerId.
For "FlexTube" modifications I would implement this in entirely separate code via ObjectOverrule.
There is a content called AU2010 - CP230-1V - AutoCAD® .NET - Practical Examples of Customizing AutoCAD Entity Behavior from Autodesk University 2010 written in VB .NET by Stephen Preston which I think can help because it has examples that you can practice, of course it involves time.
28
Land Lubber / Geographically Positioned / Re: Simplify a C3D DEM surface?
« Last post by CHulse on June 02, 2023, 07:11:29 AM »
That's exactly what I'm doing - 2 copies as separate xrefs, one showing contours and the other showing slope shading. The real issue was the density of the surface, it displayed very jagged contours and the slopes were crazy, all over the place. I've ended up simplifying the surface using the edit tools in the surface to reduce surface points (by like 95%) and apply smoothing. I think I have something workable now. I wasn't familiar with all the options for simplifying and smoothing - lots of options in the dialogs. So after much trial and error, I think I have a workable surface now. I guess my original question was about those tools and all the options - what's the best practice? I couldn't find much info on it.
29
Someone should port Delaunator to lisp as it can keep track of the half edges

I had some stuff here https://www.theswamp.org/index.php?topic=58049.msg613573#msg613573
But it’s been a while, if you follow the link in that post, it explains how to iterate triangles in order

I would have no clue how to change the resolution of a point set, except maybe eliminate nearest neighbors that are not on the edge and under some tolerance

The routine has been ported to Python, JavaScript, C++, a master lisper should be able to port it

 
30
I am not able to find TriangV0.5.9.lsp
. . .
where is it ?
Pages: 1 2 [3] 4 5 ... 10