CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedArithmetic operation in a position field

 Post Reply Post Reply
Author
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2165
Direct Link To This Post Topic: Arithmetic operation in a position field
    Posted: 12.Feb.2012 at 14:11
Yes, you can do this. See the tip:
 
The resulting expression will look similar to:
%<\AcExpr (100+%<\_FldPtr 305306904>%) \f "%ps[+, M]">%
and
%<\AcObjProp Object(%<\_ObjId 2129671616>%).InsertionPoint \f "%lu2%pt2">%
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
elmasry View Drop Down
Newbie
Newbie


Joined: 11.Feb.2012
Location: Egypt
Using: AutoCAD 2012, Revit 2011
Status: Offline
Points: 1
Direct Link To This Post Posted: 11.Feb.2012 at 15:27
Hi, I'm using an object Y position field as an attribute for a block. This is what I use:
 
%<\AcObjProp.16.2 Object(%<\_ObjId 2118086344>%).InsertionPoint \f "%lu2%pt2%pr4%ps[+, M]%ct8[0.001]">%
 
What I would like to do is an arithmetic operation of addition, something similar to how 'CAL works. In this particular case I would like to add the value of 100,000 before the conversion factor, or 100 after the conversion factor.
 
Thanks.
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,136 seconds.