When I zoomed in the Jig Dimension had been disappeared using below code :
Solved! Go to Solution.
Solved by tbrammer. Go to Solution.
Solved by tbrammer. Go to Solution.
@KIMHENGHOR98 wrote:
When I zoomed in the Jig Dimension had been disappeared using below code :
It is look like value of dimension is very small. So dimension can not be drawn as you expected.
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
But by using Line command it is still appearing . What difference between my method ??
In your code both the values of s and the length of mMajorAxis depend on VIEWSIZE. So the length of the vector s*mMajorAxis.perpVector() is roughly (VIEWSIZE*VIEWSIZE) which becomes small very fast if you zoom in. Try s*(mMajorAxis.perpVector().normalize()) instead.
What kind of error? Compiler error? Does it complain about the red underlined symbols? Looks like you need to include some more headers.
For a COM wrapper sample have a look at <ARX>\samples\com\AsdkSquareWrapper_dg.
One more problem is that : I wanted my Entity to be always red ,So that I need to remove Common Color Property. Is it possible ??
The first problem is solved but the second is not ::
One more problem is that : I wanted my Entity to be always red ,So that I need to remove Common Color Property. Is it possible ??
**ObjectARX**
How to Print ObjectID into Command Line?
Can I access Microsoft Excell by using Command in AutoCad??
I would recomment to print the AutoCAD handle instead of the ObjectID. This is the easiest way:
acutPrintf(L"Handle=%s", AcString(objectId.handle()).constPtr());
The AutoCAD LIST command also shows the handle of entities, so it is easy for you to identify objects.
Bear in mind that the handle is
Regarding Excel: This should be possible with class AcDbDataLink / class AcDbDataLinkManager / class AcDbLinkedTableData or through COM. Have a look at this older .NET sample.
**I might as well need more an example for accessing Excel with ObjectARX**
**One more problem is that : I wanted my Entity to be always red ,So that I need to remove Common Color Property. Is it possible ??**
Please create new topics for every questions which not correspondent to topic title.
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Can't find what you're looking for? Ask the community or share your knowledge.