Ben Koshy

Rails, Tekla Open API, AutoDesk .NET

Blog About Games

How to rename a current branch? (Git)!

It’s simple. Ensure that you are on the current branch. Then simply:

Read More

Be clear about what you are testing! (Testing)

_config.yml

Read More

What happens if you accidentally delete a branch? (git)

What happens if you accidentally delete a branch?

Read More

How to get the path of the current Document? (AutoCAD .net API)

If you want the file path of a dawing simply use the following:

Read More

When cloning objects, what does IdMapping do? (AutoCAD .net API)

_config.yml

Read More

How to map a network drive?

_config.yml

Read More

Identifying the type of an object (AutoCAD .net API)

Let’s say you have an array of ObjectIDs. And you want to filter out and keep all the lines. How would you do that?

Read More

Test code vs. real code – how to make them different?

When you are testing something you’ll want the code to run in a particular way, but when you are dealing with the real thing – in “production” mode – then you might not want to have the test code there as well. How can you manage this in c#?

Read More

How to obtain a small offset around a polyline? (AutoCAD .net API)

_config.yml

Read More

How to get Mtext contents without the formatting? (AutoCAD .net API)

Normally you’d go straight for the .Contents property…and I did just that but I also got some formatting marks. So how’d you get it without them?

Read More
Previous Page: 31 of 37 Next